This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] javahelp - sort index


Thank you for your help!  :-)
Melanie

Mauritz Jeanson schrieb:

----- 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







Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]