šablona/makra.xsl
changeset 51 df1f942f7b69
parent 19 b81b96475fe0
child 57 768a7eecb0cf
     1.1 --- a/šablona/makra.xsl	Sat Apr 30 20:20:54 2011 +0200
     1.2 +++ b/šablona/makra.xsl	Fri Jan 06 20:48:42 2012 +0100
     1.3 @@ -1,1 +1,30 @@
     1.4 -../vstup/makra.xsl
     1.5 \ No newline at end of file
     1.6 +<?xml version="1.0" encoding="UTF-8"?>
     1.7 +<xsl:stylesheet version="2.0"
     1.8 +	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     1.9 +	xmlns:XSL="http://example.com/XSL">
    1.10 +	<xsl:output	method="xml" indent="yes" encoding="UTF-8" />
    1.11 +	<xsl:namespace-alias stylesheet-prefix="XSL" result-prefix="xsl"/>
    1.12 +	
    1.13 +	<xsl:template match="/">
    1.14 +		<XSL:stylesheet version="2.0">
    1.15 +		<xsl:text>
    1.16 +</xsl:text>
    1.17 +		<xsl:comment>
    1.18 +	Tento seznam maker je automaticky generovaný.
    1.19 +	Neupravujte ho ručně – použijte příkaz „ant makra“.
    1.20 +</xsl:comment>
    1.21 +		<xsl:text>
    1.22 +   </xsl:text>
    1.23 +			<!-- Makra dodávaná jako součást programu: -->
    1.24 +			<xsl:for-each select="collection('./makra/?select=*.xsl')">
    1.25 +				<XSL:include href="{document-uri(.)}"/>
    1.26 +			</xsl:for-each>
    1.27 +			
    1.28 +			<!-- Uživatelská makra -->
    1.29 +			<xsl:for-each select="collection('../vstup/makra/?select=*.xsl')">
    1.30 +				<XSL:include href="{document-uri(.)}"/>
    1.31 +			</xsl:for-each>
    1.32 +		</XSL:stylesheet>
    1.33 +	</xsl:template>
    1.34 +	
    1.35 +</xsl:stylesheet>