RE: [xsl] Strip CRLF/newline only

Subject: RE: [xsl] Strip CRLF/newline only
From: "Hunsberger, Peter" <Peter.Hunsberger@xxxxxxxxxx>
Date: Wed, 24 Oct 2001 15:32:15 -0500
Well, see my other replies about only wanting this in a particular template,
but knowing that only LF's are passed means I might be able to just watch
for them in the extension function...

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: Wednesday, October 24, 2001 3:10 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Strip CRLF/newline only

note there are never any CRLF pairs after the XML parser has finished,
everything is normalised to LF (#10). However from your description I
think just adding <xsl:strip-space elements="*"/> will do the job.
that gets rid of all teh white space only nodes,  and the spaces in text
nodes following commas will be kept.

David


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


Current Thread