RE: [docbook-apps] xsl2 and xsl parameters

From
Mauritz Jeanson <>
Date
2006-10-25T18:13:00+00:00
ID
002301c6f861$242a35a0$71ea1a51@D7MZ171J
Thread
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()*">
 </xsl:param>


/MJ