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

Subject: Re: [xsl] Getting a list of node Text()
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 20 Jun 2007 13:49:43 +0100
> But, wouldn't the following strip the lead and trailing space
> for the element?
> <xsl:strip-space elements="Calculation"/>

No it would have no effect at all on the input you posted,
strip space ignores white space nodes used for indentation

would be treated like <Calculation><x>aaa</x><b>bbb</b></Calculation>

But you have

which is reported to XSLT as


so strip-space has no effect, as there are no text nodes consisting just
of white space.


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 

Current Thread