summaryrefslogtreecommitdiff
path: root/tests/general/bug-119.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/bug-119.xsl')
-rw-r--r--tests/general/bug-119.xsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/general/bug-119.xsl b/tests/general/bug-119.xsl
new file mode 100644
index 00000000..72cc3ecf
--- /dev/null
+++ b/tests/general/bug-119.xsl
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+version="1.0">
+ <xsl:template match="/">
+ <xsl:apply-templates select="*" />
+ </xsl:template>
+
+ <xsl:template match="@match">
+ NAME <xsl:value-of select="name(.)" />
+ </xsl:template>
+</xsl:stylesheet>
+