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