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