Re: [xsl] xsl:strip-space does not work?

Subject: Re: [xsl] xsl:strip-space does not work?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 16 Nov 2001 22:56:30 GMT
> I can use normalize-space() to make it work but that would be a hack.
No, that's what you are supposed to use.
> I guess, xsl:strip=space should work, or am I using it incorrectly?
strip space removes white space nodes. That is, it removes text nodes
that _only_ have white space. It does _not_ trim white space from text
nodes that have some white space and some non-white characters.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread