Name

t:chunk-cleanup — Cleanup the HTML markup for a DocBook document.

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

Synopsis

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

Description

This mode performs cleanup tasks on the HTML document that results from calling t:process. This process moves footnotes and annotations when necessary, generates navigation elements, etc.

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