šablona/makra/xmlKomentář.xsl
author František Kučera <franta-hg@frantovo.cz>
Thu, 13 Dec 2018 13:58:06 +0100
branchv_0
changeset 212 bf9a704dc916
parent 128 7493856248e1
permissions -rw-r--r--
examples: relpipe-tr-cut

<?xml version="1.0" encoding="UTF-8"?>
<!--
XML Web generátor – program na generování webových stránek
Copyright © 2012 František Kučera (frantovo.cz)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->
<xsl:stylesheet version="2.0"
	xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	exclude-result-prefixes="m">

	<!--
		XML komentář
		************
		vloží XML komentář s mezerami na začátku a na konci
	-->
	<xsl:template match="m:xmlKomentář">
		<xsl:comment>
			<xsl:text> </xsl:text>
			<xsl:apply-templates/>
			<xsl:text> </xsl:text>
		</xsl:comment>
	</xsl:template>

</xsl:stylesheet>