RE: [xsl] Preserving space between elements

Subject: RE: [xsl] Preserving space between elements
From: "Steven Reddie" <smr@xxxxxxxxxxxxxx>
Date: Sat, 6 Nov 2004 01:48:18 +1100
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@xxxxxxxxx] 
Sent: Friday, 5 November 2004 9:05 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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
________________________________________________________________________

Current Thread