added code to assure keys are generated when needed for node-sets (bug
[platform/upstream/libxslt.git] / tests / XSLTMark / stringsort.xsl
1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
2 <xsl:output encoding="utf-8"/>
3 <xsl:template match="table">
4   <table>
5     <xsl:apply-templates select="row">
6       <xsl:sort select="firstname"/>
7     </xsl:apply-templates>
8   </table>
9 </xsl:template>
10
11 <xsl:template match="*">
12   <xsl:copy>
13     <xsl:apply-templates/>
14   </xsl:copy>
15 </xsl:template>
16
17 </xsl:stylesheet>