diff options
Diffstat (limited to 'template/compiler')
-rw-r--r-- | template/compiler/pages.xsl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/template/compiler/pages.xsl b/template/compiler/pages.xsl new file mode 100644 index 0000000..f4ada83 --- /dev/null +++ b/template/compiler/pages.xsl @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xsl:stylesheet + version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:xalan="http://xml.apache.org/xalan" + xmlns:InputXSLT="function.inputxslt.application" + exclude-result-prefixes="xalan InputXSLT" +> + +<xsl:output + method="xml" + omit-xml-declaration="no" + encoding="UTF-8" + indent="yes" +/> + +<xsl:variable name="datasources"> + <file name="pages.xml"/> +</xsl:variable> + +<xsl:template match="datasource[@name = 'pages.xml']/entry"> + <compile>Compile page: <xsl:value-of select="@handle"/></compile> +</xsl:template> + +</xsl:stylesheet> |