xsl-list
[Top] [All Lists]

Re: [xsl] question on support of stylesheet embedding

2009-07-15 12:14:37
Hermann Stamm-Wilbrandt wrote:

the spec says that embedding a stylesheet into a XML document is possible:
http://www.w3.org/TR/xslt#section-Embedding-Stylesheets

After some searching I was able to get the cdcatalog sample below working:
(http://www.stamm-wilbrandt.de/en/xsl-list/cdcatalog.xml if you want to
click).

But it is working for Firefox 2/3 and Opera 9.64, NOT for MS IE6.
I found neither negative nor positive statements on IE 6/7/8 support
of stylesheet embedding while searching the web.

Does anybody now the answer whether any of the Microsoft browsers supports
stylesheet embedding?

It does not look like that is supported with IE. IE 8 when I try your test case http://www.stamm-wilbrandt.de/en/xsl-list/cdcatalog.xml seems to sniff the content and try to interpret it as text/html meaning you end up with a browser window displaying the contents of the first title element in the window bar and a table with only the header row as the contents of the document followed by any text nodes in all those unknown (to the HTML parser) elements like artist, country.


--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
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>
--~--