Name
<xsl:preserve-space>
Synopsis
This declares one or more XML elements in which all whitespace
located between the opening and closing tags is preserved; hence, the
XML processor will not remove it. By default, whitespace is not
removed from elements; <xsl:preserve-space>
can override any elements declared in the
<xsl:strip-space>
directive:
<xsl:preserve-space elements="title"/>
<xsl:preserve-space
elements="element1 element2
..."/>
Get Webmaster in a Nutshell, Third 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.