root/šablona/makra.xsl @ 136:d5feb9d8ebc3

Revision 136:d5feb9d8ebc3, 1.6 KB (checked in by František Kučera <franta-hg@…>, 4 years ago)

fix license version: GNU GPLv3

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3XML Web generátor – program na generování webových stránek
4Copyright © 2012 František Kučera (frantovo.cz)
5
6This program is free software: you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation, version 3 of the License.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program.  If not, see <http://www.gnu.org/licenses/>.
17-->
18<xsl:stylesheet version="2.0"
19        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
20        xmlns:XSL="http://example.com/XSL">
21        <xsl:output     method="xml" indent="yes" encoding="UTF-8" />
22        <xsl:namespace-alias stylesheet-prefix="XSL" result-prefix="xsl"/>
23
24        <xsl:template match="/">
25                <XSL:stylesheet version="2.0">
26                <xsl:text>
27</xsl:text>
28                <xsl:comment>
29        Tento seznam maker je automaticky generovaný.
30        Neupravujte ho ručně – smažte ho a použijte příkaz „ant makra“.
31</xsl:comment>
32                <xsl:text>
33        </xsl:text>
34                        <!-- Makra dodávaná jako součást programu: -->
35                        <xsl:for-each select="collection('./makra/?select=*.xsl')">
36                                <XSL:include href="{document-uri(.)}"/>
37                        </xsl:for-each>
38
39                        <!-- Uživatelská makra: -->
40                        <xsl:for-each select="collection('../vstup/makra/?select=*.xsl')">
41                                <XSL:include href="{document-uri(.)}"/>
42                        </xsl:for-each>
43                </XSL:stylesheet>
44        </xsl:template>
45
46</xsl:stylesheet>
47
Note: See TracBrowser for help on using the browser.