Re: Correct type for XSLT stylesheets

* Jeffrey Yasskin wrote on
>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 { }
am Badedeich 7 } Telefon: +49(0)4667/981028 {
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 }

Received on Tuesday, 17 April 2001 21:44:43 UTC