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] xsl2 and xsl parameters

> -----Original Message-----
> From: Paul Warren 
> <xsl:param name="toc.max.depth" select="0" />
> <xsl:param name="chapter.autolabel" select="0" />
> <xsl:param name="section.autolabel" select="0" />

There are no parameters called "chapter.autolabel" or "section.autolabel"
defined for DocBook XSL2. Instead, there is a parameter called
"autolabel.elements" (see param.xsl). It contains a list of elements that
should be auto-labelled. Customize by removing relevant elements.

> for the ToC I've also tried
> <xsl:param name="generate.toc" select="''" />

This parameter is defined differently in XSL2 and the above will not work.
Put the following in your customization layer to get rid of all TOCs:
 <xsl:param name="generate.toc" as="element()*">


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