šablona/makra/xmlKomentář.xsl
author František Kučera <franta-hg@frantovo.cz>
Thu, 24 Oct 2019 22:06:44 +0200
changeset 136 d5feb9d8ebc3
parent 128 7493856248e1
permissions -rw-r--r--
fix license version: GNU GPLv3
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!--
     3 XML Web generátor – program na generování webových stránek
     4 Copyright © 2012 František Kučera (frantovo.cz)
     5 
     6 This program is free software: you can redistribute it and/or modify
     7 it under the terms of the GNU General Public License as published by
     8 the Free Software Foundation, version 3 of the License.
     9 
    10 This program is distributed in the hope that it will be useful,
    11 but WITHOUT ANY WARRANTY; without even the implied warranty of
    12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    13 GNU General Public License for more details.
    14 
    15 You should have received a copy of the GNU General Public License
    16 along with this program.  If not, see <http://www.gnu.org/licenses/>.
    17 -->
    18 <xsl:stylesheet version="2.0"
    19 	xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro"
    20 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    21 	exclude-result-prefixes="m">
    22 
    23 	<!--
    24 		XML komentář
    25 		************
    26 		vloží XML komentář s mezerami na začátku a na konci
    27 	-->
    28 	<xsl:template match="m:xmlKomentář">
    29 		<xsl:comment>
    30 			<xsl:text> </xsl:text>
    31 			<xsl:apply-templates/>
    32 			<xsl:text> </xsl:text>
    33 		</xsl:comment>
    34 	</xsl:template>
    35 
    36 </xsl:stylesheet>
    37