[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: question on support of stylesheet embedding

Subject: Re: question on support of stylesheet embedding
From: Hermann Stamm-Wilbrandt <STAMMW@xxxxxxxxxx>
Date: Wed, 15 Jul 2009 21:54:39 +0200
Re:  question on support of stylesheet embedding
> > 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.

Thanks for trying it with IE8 (unsuccessfully).
I tried in on a system with IE7 where it did not work either, and the
output is as you described for all IE browsers (6/7/8).

David reported that it does work fine with Chrome.

Seems that MS browsers really do not support this, although I tried to
make it really easy for them by using the non-standard MS registered
type="text/xsl" based on this old post:
http://www.biglist.com/lists/lists.mulberrytech.com/xsl-list/archives/199910/
msg00217.html


Mit besten Gr|_en / Best wishes,

Hermann Stamm-Wilbrandt
Developer, XML Compiler
WebSphere DataPower SOA Appliances
----------------------------------------------------------------------
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschdftsf|hrung: Erich Baier
Sitz der Gesellschaft: Bvblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294



             Martin Honnen
             <Martin.Honnen@gm
             x.de>                                                      To
                                       xsl-list@xxxxxxxxxxxxxxxxxxxxxx
             07/15/2009 06:14                                           cc
             PM
                                                                   Subject
                                       Re:  question on support of
             Please respond to         stylesheet embedding
             xsl-list@xxxxxxxx
              lberrytech.com








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/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.