--- a/ukázka/kontakt.xml Sun Jun 23 17:04:52 2013 +0200
+++ b/ukázka/kontakt.xml Mon Jul 01 17:51:42 2013 +0200
@@ -37,6 +37,8 @@
reditel -> root;
</m:diagram>
+ <m:xmlKomentář>organizační struktury bývají někdy tajemné</m:xmlKomentář>
+
<h2>Procesy</h2>
<p>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/šablona/makra/xmlKomentář.xsl Mon Jul 01 17:51:42 2013 +0200
@@ -0,0 +1,38 @@
+<?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>
+