Name

<xsl:strip-space>

Synopsis

<xsl:strip-space element=" element_name "/>

Description

Declares an XML element in which all whitespace located between its opening and closing tags is insignificant and should be removed by the XML processor.

<xsl:strip-space element="title"/>

Note that this is not necessarily the same as the xml:space=default attribute, which allows the XSL processor more freedom to decide how to handle whitespace.

Get Webmaster in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.