summaryrefslogtreecommitdiffstats
path: root/libxslt/tests/REC/test-7.7-1.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'libxslt/tests/REC/test-7.7-1.xsl')
-rw-r--r--libxslt/tests/REC/test-7.7-1.xsl15
1 files changed, 15 insertions, 0 deletions
diff --git a/libxslt/tests/REC/test-7.7-1.xsl b/libxslt/tests/REC/test-7.7-1.xsl
new file mode 100644
index 0000000..71778db
--- /dev/null
+++ b/libxslt/tests/REC/test-7.7-1.xsl
@@ -0,0 +1,15 @@
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:template match="items">
+ <xsl:for-each select="item">
+ <xsl:sort select="."/>
+ <p>
+ <xsl:number value="position()" format="1. "/>
+ <xsl:value-of select="."/>
+ </p>
+ </xsl:for-each>
+</xsl:template>
+
+</xsl:stylesheet>