summaryrefslogtreecommitdiff
path: root/tests/auto/xmlpatterns/stylesheets/namedTemplate.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/xmlpatterns/stylesheets/namedTemplate.xsl')
-rw-r--r--tests/auto/xmlpatterns/stylesheets/namedTemplate.xsl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/xmlpatterns/stylesheets/namedTemplate.xsl b/tests/auto/xmlpatterns/stylesheets/namedTemplate.xsl
new file mode 100644
index 0000000..e296e6d
--- /dev/null
+++ b/tests/auto/xmlpatterns/stylesheets/namedTemplate.xsl
@@ -0,0 +1,8 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
+
+ <xsl:template name="main">
+ <xsl:value-of select="1 to 5"/>
+ </xsl:template>
+
+</xsl:stylesheet>
+