Next / Previous / Contents / Shipman's homepage

7.2. xsl:preserve-space: Preserving white space

Use this element to specify for which input elements white space is preserved. Attributes:

elements (required)

A list of element names separated by spaces.

For example, this element would cause white space to be preserved in remark and warning elements:

    <xsl:preserve-space elements="remark warning"/>