šablona/makra.xsl
author František Kučera <franta-hg@frantovo.cz>
Sat, 07 Jan 2012 12:43:07 +0100
changeset 60 6e574058ef56
parent 57 768a7eecb0cf
child 61 9503eb8377f1
permissions -rw-r--r--
Licence: informace o licenci při spuštění programu.
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <xsl:stylesheet version="2.0"
     3 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     4 	xmlns:XSL="http://example.com/XSL">
     5 	<xsl:output	method="xml" indent="yes" encoding="UTF-8" />
     6 	<xsl:namespace-alias stylesheet-prefix="XSL" result-prefix="xsl"/>
     7 	
     8 	<xsl:template match="/">
     9 		<XSL:stylesheet version="2.0">
    10 		<xsl:text>
    11 </xsl:text>
    12 		<xsl:comment>
    13 	Tento seznam maker je automaticky generovaný.
    14 	Neupravujte ho ručně – smažte ho a použijte příkaz „ant makra“.
    15 </xsl:comment>
    16 		<xsl:text>
    17    </xsl:text>
    18 			<!-- Makra dodávaná jako součást programu: -->
    19 			<xsl:for-each select="collection('./makra/?select=*.xsl')">
    20 				<XSL:include href="{document-uri(.)}"/>
    21 			</xsl:for-each>
    22 			
    23 			<!-- Uživatelská makra: -->
    24 			<xsl:for-each select="collection('../vstup/makra/?select=*.xsl')">
    25 				<XSL:include href="{document-uri(.)}"/>
    26 			</xsl:for-each>
    27 		</XSL:stylesheet>
    28 	</xsl:template>
    29 	
    30 </xsl:stylesheet>