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: Re: [docbook-apps] Removing the index from the TOC

Hi Peter,
Another way to turn off the index entry in the TOC is to create an empty
template with mode="toc" for index:

<xsl:template match="index" mode="toc">

Each element in a TOC is processed in this mode, so making this template
null will remove that entry from the TOC.

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Peter Desjardins" <pdesjardins@supplyscape.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, February 21, 2006 9:51 PM
Subject: [docbook-apps] Removing the index from the TOC

I am displaying chunked HTML in a frameset as a simple online help
system.  Both the TOC and index chunks are shown in one frame and every
other chunk is shown in another.  The TOC contains a link to the index
but in this case I need to remove that link.  There's another way for
users to switch between the TOC and index and since the link targets for
the TOC/index frame are in the other frame, clicking the "Index" link in
the TOC will open the index in the content pane (not the correct

How can I exclude the index from the TOC?  I've tried some XSLT
customizations but I haven't found the right spot yet.

The content is a book. I'm using html/chunk.xsl in version 1.69.1 of the
DocBook stylesheets.  My XSL processor is Saxon.  The OS is Windows.

Thanks for your help.

Peter Desjardins
SupplyScape Corporation

To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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