OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: sorted index in javahelp


Hi,

as the javahelp application doesn't sort the index entries itself (when 
displayed), it would be nice to have this done by the javahelp 
stylesheet. It was fairly easy to modify the stylesheet, so can someone 
of the maintainers include this in the official stylesheets. Should I 
file this as a feature request?

Thanks,
Georges

======================
<xsl:template name="helpidx.content">
  <index version="1.0">
    <xsl:choose>
      <xsl:when test="$rootid != ''">
        <xsl:apply-templates select="key('id',$rootid)//indexterm" 
mode="idx">
          <xsl:sort select="primary"/>
          <xsl:sort select="secondary"/>
          <xsl:sort select="tertiary"/>
        </xsl:apply-templates>
      </xsl:when>
      <xsl:otherwise>
        <xsl:apply-templates select="//indexterm" mode="idx">
          <xsl:sort select="primary"/>
          <xsl:sort select="secondary"/>
          <xsl:sort select="tertiary"/>
        </xsl:apply-templates>
      </xsl:otherwise>
    </xsl:choose>
  </index>
</xsl:template>
======================


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]