Subject: RE: no newlines or carriage returns
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 19 Sep 2001 22:43:09 +0100
|
> a problem i just encounteres was that when i am passed an
> element that has a
> newline in its content, ie
>
> <ipAddr>
>
> 1.2.3.4 / 24
> </ipAddr>
>
> is there any way to read this element in as
> <ipAddr>1.2.3.4 / 24</ipAddr>
> perserving the regular space and text while removing newlines
> & carriage returns?
>
The normalize-space() function will probably do what you want.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|