This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Strip CRLF/newline only


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@nag.co.uk]
Sent: Wednesday, October 24, 2001 3:10 PM
To: xsl-list@lists.mulberrytech.com
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]