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


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

[docbook] RE:map the id with the anchor for sections


hi,
you must edit the javahelp.xsl File.

Look at:
xsl:template match="section|sect1|sect2|sect3|sect4|sect5|colophon"
mode="map"

Now insert "#<xsl:value-of select="$id"/>" at:

<mapID target="{$id}">
  <xsl:attribute name="url">     
    <xsl:apply-templates mode="chunk-filename" select="."/>#<xsl:value-of
select="$id"/>
  </xsl:attribute>
</mapID>

i hope i could help you ;-)


To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


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