Re: [docbook-apps] javahelp - sort index

From
"[auritz Keanson"
Date
2004-07-28T09:13:28+00:00
ID
002801c47483$6d83aba0$
Thread
Re: [docbook-apps] javahelp - sort index
----- Original Message ----- 
From: "Melanie R飉ch" 

> 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