Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

IE8 not render XML with embbeded XSLT

$
0
0
Is this kind of xml supported in IE ?

<?xml version="1.0" encoding="utf-8" ?><?xml-stylesheet href="#style" type="text/xml"?><!DOCTYPE doc [<!ATTLIST xsl:stylesheet id	ID	#REQUIRED>]><doc><xsl:stylesheet id="style" version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="xsl:stylesheet" /><xsl:template match="/doc/myroot"><html><body>
					A number: <xsl:value-of select="number1" /><br />
					Another number: <xsl:value-of select="number2" /></body></html></xsl:template></xsl:stylesheet><myroot><number1>12345</number1><number2>67890</number2></myroot></doc>

This renders perfectly in Mozilla Firefox, Safari and Chrome.

In IE8 what I get is the source XML and not the resulting XHTML

Is it required to change something to this XML structure for get this to work in IE ?

Thanks in advance !

Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>