Subject: RE: Stripping all whitespace and carriage return / end of line
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 13 Oct 2000 17:45:07 +0100
|
> I thought that
>
> <xsl:strip-space elements="*"/>
>
> strips all whitespace from element content
No, it only strips whitespace nodes, that is, text nodes containing nothing
but whitespace.
, but this does not seem to
> include carriage returns, tabs and similar trailing and leading
> characters. However, when reading an element content, I would like to
> have those ignored.
Use the normalize-space() function.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|