This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: white space prob
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] white space prob
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Thu, 18 Oct 2001 09:15:20 +0100
- References: <20011017191501.63545.qmail@web10007.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I want to keep all white space just like before.
There is simply no way to do that if the original is in an attribute.
The XML specification mandates that every parser normalises all line
breaks happening in attribute values to spaces. So there is no way of
keeping them in XML.
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