This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Strip CRLF/newline only
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Strip CRLF/newline only
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 24 Oct 2001 21:09:54 +0100
- References: <601F6322AD71D5118D6C00034725152902279787@sjmemexc1.stjude.org>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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
_____________________________________________________________________
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