t:docbook
t:docbook — Process a DocBook document.
Template:
{http://docbook.org/ns/docbook/templates}docbook
Defined in:
docbook.xsl
Used in:
docbook.xsl
Synopsis
<xsl:template name="t:docbook">
<xsl:param name="return" as="xs:string"/>
</xsl:template>Description
This mode processes a DocBook document. It’s usually called automatically by the root template in the stylesheets. You only need to call it explicitly if you have an override for the root template and want to do some specialized processing.
The template has a single parameter, return, which selects
what should be constructed by the template:
main-document, the default valueReturns the primary output of the stylesheet.
raw-resultsReturns a map with two keys,
documentcontaining the original DocBook document processed andoutputcontaining the transformed result.chunked-resultsReturns a map with two keys,
documentcontaining the original DocBook document processed andchunkscontaining a map from output URIs to documents.
Any other value is an error.