This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] javahelp - sort index
- From: "Mauritz Jeanson" <mj at johanneberg dot com>
- To: Melanie Rösch <m dot roesch at rose dot de>
- Cc: <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 28 Jul 2004 11:15:27 +0200
- Subject: Re: [docbook-apps] javahelp - sort index
- References: <41051D73.4030601@rose.de>
- Reply-to: "Mauritz Jeanson" <mj at johanneberg dot com>
----- Original Message -----
From: "Melanie Rösch"
> Hi,
>
> is it possible to sort the generated index-file for javahelp alphabetical?
Yes, it is. Modify the helpidx.content template in javahelp.xsl. Change this line:
<xsl:apply-templates select="//indexterm" mode="idx"/>
to this:
<xsl:apply-templates select="//indexterm" mode="idx">
<xsl:sort select="primary"/>
<xsl:sort select="secondary"/>
<xsl:sort select="tertiary"/>
</xsl:apply-templates>
/MJ