xsl-list
[Top] [All Lists]

Re: [xsl] Trying to avoid quirks mode

2008-12-10 05:03:03
Slightly OT, but for IE 6 you also need to strip off the xml prolog:

http://www.quirksmode.org/css/quirksmode.html

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(_at_)saxonica(_dot_)com>:

Add doctype-system and doctype-public attributes to the xsl:output
declaration.




-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>