Next / Previous / Contents / Shipman's homepage

7.3. xsl:strip-space: Removing non-significant white space

By “non-significant white space,” we mean white space that occurs between elements. White space that occurs inside text content is considered significant. This tag specifies for which elements non-significant white space is discarded. Attributes:

elements (required)

A list of element names separated by spaces.

For example, this element would cause white space to be deleted in rant elements:

    <xsl:strip-space elements="rant"/>