Name

$generate-toc — Generate a table-of-contents?

Parameter:
{}generate-toc
Defined in:
param.xsl
Used in:
parameter-maps.xsl, modules/toc.xsl

Synopsis

 
<xsl:param name="generate-toc"
           as="xs:string">
  (empty(parent::*) and self::db:article)
  or self::db:set or self::db:book
  or self::db:part or self::db:reference
</xsl:param>

Description

The $generate-toc parameter is an XPath expression. If the expression evaluates to true for any element, then a table of contents will be generated automatically at the beginning of that element.