Re: [xsl] Using xsl:output in browsers, was: Re [xsl] XHTML html validation

Subject: Re: [xsl] Using xsl:output in browsers, was: Re [xsl] XHTML html validation
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Tue, 20 Feb 2007 00:18:09 +0100
Manfred Staudinger wrote:
I've prepared two xml pages:
http://free.pages.at/staudinger/Regest/Namen/Rudolph_II.xml
Can you see the difference in IE 6 ?



Yes, nice one; I didn't know it and it is an ugly bug indeed. But my statement was actually about client side XSLT using Javascript invocation, where this behavior is not so. With JS there are many ways to get a serialized string from an XSLT transformation in IE, but all of them are on the resulting DOM object, where the information on indentation is gone.

Another reason not to use PIs ;)

Btw, I couldn't help noticing that you serve your XML as text/html. I assume that is on purpose, because of that other bug in IE not understanding text/xml + PI?

Cheers,
-- Abel

Current Thread