Using Internet Explorer to Transform XML Documents

There’s one more topic to discuss during this overview of stylesheets, and that’s how to use stylesheets in the Internet Explorer. As we saw in Chapter 1, you can use JavaScript to read in XML and XSL documents, and use the MSXML3 parser to perform the transformation. (For more information on this, see Chapter 10. You can also read about the Internet Explorer support at

However, if you want to open an XML document directly in Internet Explorer by navigating to it (for example, by typing its URI into the Address box), you're relying on the browser to use the <?xml-stylesheet?> and <xsl:stylesheet> elements itself, which means you need to make a few changes ...

Get Inside XSLT now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.