$generate-toc

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

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

Synopsis

  |$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'

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.