Re: [xsl] Fwd: white space in MSIE

Subject: Re: [xsl] Fwd: white space in MSIE
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Mon, 02 Dec 2002 16:25:46 -0500
Hi David and everyone,

At 02:52 PM 12/2/2002, you wrote:
> 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.

Ah, good tip. (Rather abuses the intended semantics of xml:space, I think, particularly if it has to be at the *top* of the input. But I can try a couple of things now.)


Dion asked about Rafal's stylesheet. Nope, sorry, don't have one.

I'll bang on this a bit. Thanks to all.

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread