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] | [Elist Home]

Subject: RE: DOCBOOK-APPS: Generating TOC with Saxon

To clarify things a bit:

We are using XSLT, the modular docbook stylesheets, and a very large,
multi-book set.  We are converting to HTML and HTML Help. We're looking to
replace XT as our processor, and have discovered that, while Xalan/Xerces
work well they are too slow when working with an 9,000 page XML instance.

In running tests with Saxon, the table of contents files generate but have
no contents entries.  This works fine however in XT/XP and Xalan/Xerces.

Does anyone have any light to shed on this?

Bill Lawrence

-----Original Message-----
From: Dave Pawson [mailto:daveP@dpawson.freeserve.co.uk]
Sent: Wednesday, October 17, 2001 11:45 PM
To: Jeff Beal; DocBook Mailing List (E-mail)
Subject: Re: DOCBOOK-APPS: Generating TOC with Saxon

At 15:33 17/10/2001 -0400, Jeff Beal wrote:
>I'm having problems getting Saxon to generate table of contents.  I've 
>tried passing parameters to DocBook via the command-line and in a 
>stylesheet.  I've tried having every 'generate.xxx.toc' set to 1, and 
>tried setting some of them to zero.  I haven't yet hit on the right 
>combination to generate a table of contents for each book in the docset.
>Here's the latest parameter section of my driver:
>  <xsl:param name="use.extensions" select="'1'"/>
>  <xsl:param name="generate.division.toc" select="1" />
>  <xsl:param name="generate.chapter.toc" select="0" />
>  <xsl:param name="generate.set.toc" select="0" />
>  <xsl:param name="generate.section.toc" select="0" />
>  <xsl:param name="generate.book.toc" select="1" />
>  <xsl:param name="generate.reference.toc" select="0" />Can anyone help me 
> out here?

Is this for docbook or website?
Assuming docbook and html and xslt !

<xsl:param name="generate.component.toc" select="1" doc:type='boolean'/>
<xsl:param name="generate.division.toc" select="1" doc:type='boolean'/>
<xsl:param name="generate.set.toc" select='1' doc:type='boolean'/>
defaults to true
<xsl:param name="generate.section.toc" select='0' doc:type='boolean'/>

So perhaps if you are only using sections, you won't get tocs?
The only other thing I can think of is that you haven't put
a <toc/> element in the source, to tell the stylesheets
where you want the toc?


To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>

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

Powered by eList eXpress LLC