saintmike2
Programmer
I created a XML page formatted with XSL. For some reason in order to view the page properly the security settings for MSIE must be set to low. I'm guessing it's becauswe I am using a server-side object on the client. Is there anyway to fix this? Here is a sample of the code:
<html>
<body><script type="text/javascript">
// Load XML
var xml = new ActiveXObject("MSXML2.DOMDocument"
;
xml.async = false;
xml.setProperty("ServerHTTPRequest", true);
xml.load("
// Load XSL
var xsl = new ActiveXObject("Microsoft.XMLDOM"
;
xsl.async = false;
xsl.load("Quotes.xsl"
;
// Transform
document.write(xml.transformNode(xsl));
onLoad=window.setTimeout("location.href='Quotes.htm'",5000);
</script>
</body>
</html>
Thanks,
Mike
<html>
<body><script type="text/javascript">
// Load XML
var xml = new ActiveXObject("MSXML2.DOMDocument"
xml.async = false;
xml.setProperty("ServerHTTPRequest", true);
xml.load("
// Load XSL
var xsl = new ActiveXObject("Microsoft.XMLDOM"
xsl.async = false;
xsl.load("Quotes.xsl"
// Transform
document.write(xml.transformNode(xsl));
onLoad=window.setTimeout("location.href='Quotes.htm'",5000);
</script>
</body>
</html>
Thanks,
Mike