W3C home > Mailing lists > Public > www-style@w3.org > April 2001

Re: Correct type for XSLT stylesheets

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 18 Apr 2001 03:45:50 +0200
To: Jeffrey Yasskin <jyasskin@appcomp.com>
Cc: www-style@w3.org, wasp@microsoft.com
Message-ID: <dorpdt8dte0gi6hhjifk9calc3p4u7g9ah@4ax.com>
* Jeffrey Yasskin wrote on www-style@w3.org:
>In section 2.7 Embedding Stylesheets in the XSLT 1.0 Recommendation, the
>first line of the sample page is:
>
><?xml-stylesheet type="text/xml" href="#style1"?>
>
>Internet Explorer only applies the stylesheet if the type is "text/xsl".
>Which is right?

text/xml and application/xml. If Microsoft Internet Explorer does not
accept them as MIME types for XSLT sheets, thats a bug. RFC 3023
mentions application/xslt+xml in the examples section (8.17), but that
MIME type isn't currently registered.
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Tuesday, 17 April 2001 21:44:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:09 GMT