Name

t:chunk-output — Generate chunked output for a DocBook document.

Template:
{http://docbook.org/ns/docbook/templates}chunk-output
Defined in:
drivers.xsl
Used in:
docbook.xsl, drivers.xsl
Used by:
t:postprocess

Synopsis

<xsl:template name="t:chunk-output">
  <xsl:param name="source" as="document-node()"/>
  <xsl:param name="docbook" as="document-node()"/>
</xsl:template>

Description

This mode processes the $persistent-toc if requested and generates individual documents for each chunk. Like the XPath transform function, this template returns a map. You must process the map to store the documents.

Most customizations can simply call t:docbook; you only need to call the t:preprocess, t:process, t:postprocess (or t:chunk-output and t:chunk-output) if you need to perform very specialized cleanup tasks.