summaryrefslogtreecommitdiff
path: root/tests/general/bug-197.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/bug-197.xsl')
-rw-r--r--tests/general/bug-197.xsl16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/general/bug-197.xsl b/tests/general/bug-197.xsl
new file mode 100644
index 00000000..e9ab1698
--- /dev/null
+++ b/tests/general/bug-197.xsl
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+ <xsl:template match="node()|@*">
+ <xsl:copy>
+ <xsl:apply-templates select="node()|@*" />
+ </xsl:copy>
+ </xsl:template>
+
+ <xsl:template match="@*">
+ <xsl:attribute name="{name()}">
+ <xsl:number count="@*" level="any" />
+ </xsl:attribute>
+ </xsl:template>
+
+</xsl:stylesheet>