Visit Mozilla.org

XSLT:strip-space

From MDC

XSLT/XPath Reference: XSLT elements, EXSLT functions, XPath functions, XPath axes

Contents

The <xsl:strip-space> element defines the elements in the source document for which whitespace should be removed.

[edit] Syntax

<xsl:strip-space elements=LIST-OF-ELEMENT-NAMES  />

[edit] Required Attributes

elements
Specifies a space-separated list of elements in the source whose whitespace-only text nodes should be removed.

[edit] Optional Attributes

None.

[edit] Type

Top-level, must be a child of <xsl:stylesheet> or <xsl:transform>.

[edit] Defined

XSLT, section 3.4

[edit] Gecko support

Supported.