šablona/makra.xsl
author František Kučera <franta-hg@frantovo.cz>
Sun, 26 Jul 2020 19:45:53 +0200
branchv_0
changeset 305 9045be58e159
parent 87 25dec6931f18
permissions -rw-r--r--
css: green noise background, lighter body, header and footer background, shadows, link colors, lighter footnotes border, copyright 2018-2020

<?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:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:XSL="http://example.com/XSL">
	<xsl:output	method="xml" indent="yes" encoding="UTF-8" />
	<xsl:namespace-alias stylesheet-prefix="XSL" result-prefix="xsl"/>

	<xsl:template match="/">
		<XSL:stylesheet version="2.0">
		<xsl:text>
</xsl:text>
		<xsl:comment>
	Tento seznam maker je automaticky generovaný.
	Neupravujte ho ručně – smažte ho a použijte příkaz „ant makra“.
</xsl:comment>
		<xsl:text>
	</xsl:text>
			<!-- Makra dodávaná jako součást programu: -->
			<xsl:for-each select="collection('./makra/?select=*.xsl')">
				<XSL:include href="{document-uri(.)}"/>
			</xsl:for-each>

			<!-- Uživatelská makra: -->
			<xsl:for-each select="collection('../vstup/makra/?select=*.xsl')">
				<XSL:include href="{document-uri(.)}"/>
			</xsl:for-each>
		</XSL:stylesheet>
	</xsl:template>

</xsl:stylesheet>