summaryrefslogtreecommitdiffstats
path: root/libxslt/tests/general/bug-119.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'libxslt/tests/general/bug-119.xsl')
-rw-r--r--libxslt/tests/general/bug-119.xsl12
1 files changed, 12 insertions, 0 deletions
diff --git a/libxslt/tests/general/bug-119.xsl b/libxslt/tests/general/bug-119.xsl
new file mode 100644
index 0000000..72cc3ec
--- /dev/null
+++ b/libxslt/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>
+