summaryrefslogtreecommitdiffstats
path: root/libxslt/tests/general/bug-21-.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'libxslt/tests/general/bug-21-.xsl')
-rw-r--r--libxslt/tests/general/bug-21-.xsl7
1 files changed, 7 insertions, 0 deletions
diff --git a/libxslt/tests/general/bug-21-.xsl b/libxslt/tests/general/bug-21-.xsl
new file mode 100644
index 0000000..41cb6d2
--- /dev/null
+++ b/libxslt/tests/general/bug-21-.xsl
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="1.0">
+<xsl:template match="/doc">
+ <xsl:value-of select="unparsed-entity-uri(string(@attr))"/>
+</xsl:template>
+</xsl:stylesheet>