Re: [xsl] Fwd: white space in MSIE

Subject: Re: [xsl] Fwd: white space in MSIE
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 2 Dec 2002 19:52:18 GMT

> Can someone confirm that what is being described stems from a bug in MSXML? 
> I'm recalling something about it but I'm not sure of the details....

it depends how you define "bug"
it's a dcumented and frustrating incompatibility.

If you call msxml via script you can set a preservewhitespace flag to
turn off this behaviour, but if you directly pass the file to IE it
calls msxml with this flag helpfully set to be incompatible.

putting xml:space="preserve" at the top of your input file
turns this off. 

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


Current Thread