summaryrefslogtreecommitdiffstats
path: root/libxslt/tests/general/bug-15-.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'libxslt/tests/general/bug-15-.xsl')
-rw-r--r--libxslt/tests/general/bug-15-.xsl15
1 files changed, 15 insertions, 0 deletions
diff --git a/libxslt/tests/general/bug-15-.xsl b/libxslt/tests/general/bug-15-.xsl
new file mode 100644
index 0000000..845866e
--- /dev/null
+++ b/libxslt/tests/general/bug-15-.xsl
@@ -0,0 +1,15 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+<xsl:template match='doc'>
+<html>
+<body>
+<ul>
+ <xsl:for-each select='items'>
+ <xsl:sort/>
+ <li><xsl:value-of select='.'/></li>
+ </xsl:for-each>
+</ul>
+</body>
+</html>
+</xsl:template>
+</xsl:stylesheet>