xsl-list
[Top] [All Lists]

RE: Preserving space between elements

2004-11-05 07:48:18
Hi David,

I've been away for a while; I'll have to go over the archives for all the
gory details.  Thanks, that got me what I want with one fell swoop.

Regards,

Steven

-----Original Message-----
From: David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk] 
Sent: Friday, 5 November 2004 9:05 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Preserving space between elements


I rest my case:-)

Steven,

sorry if you just joined the list to ask my question but we have had a long
thread on this week with me explaining that losing spaces in IE is a
"feature" of an intentional non conformace of microsoft's parser...

You need to put xml:space="preserve" on teh top level element of your source
document otherwise msxml will "optimise" away your interword spaces. They no
this doesn't conform to the XML Rec, but they say it optimises your DOM
removing confusing white space nodes....

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The service is powered
by MessageLabs. For more information on a proactive anti-virus service
working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--



<Prev in Thread] Current Thread [Next in Thread>