text() (in xref.text mode)
Whitespace Normalization and Character Encoding normalize scape.mod.xsl
Reference Section


text() — Process text() nodes


<xsl:template match="text()" name="text"/><xsl:template match="text()" mode="xref.text"/><xsl:template match="text()" mode="xref-to"/><xsl:template match="text()" mode="latex.verbatim"/><xsl:template match="text()" mode="slash.hyphen"/>

A. Description

Handles regular text content (i.e. #PCDATA) from DocBook documents.

B. Pertinent Variables

There are no configuration variables for this template.

D. DocBook Compliance and LaTeX Notes

For most elements, LaTeX active characters will be escaped using the scape template. However, for text within the following elements, the scape-verbatim template will be used to typeset monospace text: literal [2.0.9], filename [2.0.9], userinput [2.0.9], systemitem [2.0.9], prompt [2.0.9], email [2.0.9], sgmltag [2.0.9].

In all cases, interior whitespace will be normalised according to the XSLT specification with the additional feature that leading and trailing whitespace will be elided (as expected with SGML parsers).

F. Further Reading