But, wouldn't the following strip the lead and trailing space
for the element?
<xsl:strip-space elements="Calculation"/>
No, xsl:strip-space only removes text nodes that consist entirely of
whitespace.
There is no way in XSLT of treating
<a> <![CDATA[banana]]> </a>
differently from
<a><![CDATA[ banana ]]></a>
Since in both cases the <a> element has a single text node as its child.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--