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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Getting a list of node Te, David Carlisle | Thread | Re: [xsl] Getting a list of node Te, Abel Braaksma |
Re: [xsl] Getting a list of node Te, David Carlisle | Date | Re: [xsl] Sorting in A for-each-gro, David Carlisle |
Month |