1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-09-17 03:22:14 +03:00
Files
libxslt/tests/general/bug-23-.xsl
Daniel Veillard d7f08ef976 - tests/general/bug-2[0-4].* tests/docs/bug-2[0-4].*: added more
tests especially on sorting
- test/xsltutils.c: oops multiple sorts was actually broken !!!
  this should fix it
Daniel
2001-05-04 15:08:23 +00:00

21 lines
520 B
XML

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<indexdoc>
<xsl:apply-templates select="//indexterm">
<xsl:sort data-type="text" select="primary"/>
<xsl:sort data-type="text" select="secondary"/>
</xsl:apply-templates>
</indexdoc>
</xsl:template>
<xsl:template match="indexterm">
<term><xsl:value-of select="primary"/>:<xsl:value-of select="secondary"/></term>
</xsl:template>
</xsl:stylesheet>