Solved IE 9 under seven doesn't transform an XML using xsl

April 27, 2013 at 15:23:52
Specs: Windows 7

Prior to IE9 I could open a local XML file using a xsl file. The browser would correctly locate the XSL file referenced in the XML and use it to transform the XML to an HTML page. That doesn't seem to be the case anymore, I just get a blank page.

when i hit F12 to get developer tools and enable IE7 or IE8, xml file is loaded well. But I want to open it with IE9. I guess there's probably to append something a xls file somewhere to enable this, can someone tell me where it is and how, please?


See More: IE 9 under seven doesnt transform an XML using xsl

Report •

April 28, 2013 at 03:34:06
Thank you.

I have read this great hyperlink but my xsl is in conformance with this post. When debugging pressing F12, it's written

XML5658: Un signe « : » ne doit pas se trouver dans un nom.

This message matches the <?xml:stylesheet type="text/xsl" href="file.xsl"?> line. Thanks

Is there a workaround? Thanks

Report •

April 28, 2013 at 07:55:32
I have found solution! Instead of writing <?xml:stylesheet type="text/xsl" href="file.xsl"?> which works fine in the IE's browsers whose versions are less than IE9, we should write for IE 9: <?xml-stylesheet type="text/xsl" href="file.xsl"?> I recommend you all the site. Indeed that helps me find solution. Thanks

Report •
Related Solutions

Ask Question