Re: [xsl] Trying to avoid quirks mode

Subject: Re: [xsl] Trying to avoid quirks mode
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Wed, 10 Dec 2008 10:02:41 +0000
Slightly OT, but for IE 6 you also need to strip off the xml prolog:

It's not possible to conditionally output the prolog in xslt (unless
your using meta stylesheets) so you'll optionally need to post process
the serialised result depending on if the user agent is ie6.

2008/12/10 Michael Kay <mike@xxxxxxxxxxxx>:
> Add doctype-system and doctype-public attributes to the xsl:output
> declaration.

Andrew Welch

Current Thread