šablona/makra.xsl
changeset 51 df1f942f7b69
parent 19 b81b96475fe0
child 57 768a7eecb0cf
--- a/šablona/makra.xsl	Thu Jan 05 16:24:56 2012 +0100
+++ b/šablona/makra.xsl	Fri Jan 06 20:48:42 2012 +0100
@@ -1,1 +1,30 @@
-../vstup/makra.xsl
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?>
+<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ě – 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>