summaryrefslogtreecommitdiffstats
path: root/libxslt/tests/general/bug-168.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'libxslt/tests/general/bug-168.xsl')
-rw-r--r--libxslt/tests/general/bug-168.xsl9
1 files changed, 9 insertions, 0 deletions
diff --git a/libxslt/tests/general/bug-168.xsl b/libxslt/tests/general/bug-168.xsl
new file mode 100644
index 0000000..cd13d41
--- /dev/null
+++ b/libxslt/tests/general/bug-168.xsl
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns="http://www.w3.org/1999/xhtml">
+
+<xsl:template match="*">
+<A a="{concat('{',namespace-uri(),'}',local-name())}"/>
+<B b='{concat("{",namespace-uri(),"}",local-name())}'/>
+</xsl:template>
+
+</xsl:stylesheet>