RE: [xsl] Getting a list of node Text()

Subject: RE: [xsl] Getting a list of node Text()
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 20 Jun 2007 13:55:49 +0100
> 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/

Current Thread