Chucky_5150
09-09-2003, 10:43 PM
I don't know if this should go here for under "webpage", but this seemed like a better choice.
This is my first time playing with xsl/xml. So be kind if I don't have all the lingo down.
My problum is that I'm getting an "acess is denied" error when I try to load the
xsl (http://www.themofoclan.com/xml/mofoxsl1.xsl) file.
This (http://themofoclan.com/xml/ladder.html) is the page that I'm getting the error on. It's the page that should change all the xml data in to xhtml code. I'll put the code for this at the end of the post.
It's a remote XML file. Here (http://www.teamwarfare.com/xml/viewteam_v2.asp?team=Masters+Of+Friggin+Ownage) is the XML page.
<script type="text/javascript">// Load XML
var xml = new ActiveXObject("Microsoft.XMLDOM")
xml.async = false
xml.load("http://www.teamwarfare.com/xml/viewteam_v2.asp?team=Masters+Of+Friggin+Ownage")
// Load XSL
var xsl = new ActiveXObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load("http://themofoclan.com/xml/mofoxsl1.xsl")
// Transform
document.write(xml.transformNode(xsl))</script>
Thank you for you help.
This is my first time playing with xsl/xml. So be kind if I don't have all the lingo down.
My problum is that I'm getting an "acess is denied" error when I try to load the
xsl (http://www.themofoclan.com/xml/mofoxsl1.xsl) file.
This (http://themofoclan.com/xml/ladder.html) is the page that I'm getting the error on. It's the page that should change all the xml data in to xhtml code. I'll put the code for this at the end of the post.
It's a remote XML file. Here (http://www.teamwarfare.com/xml/viewteam_v2.asp?team=Masters+Of+Friggin+Ownage) is the XML page.
<script type="text/javascript">// Load XML
var xml = new ActiveXObject("Microsoft.XMLDOM")
xml.async = false
xml.load("http://www.teamwarfare.com/xml/viewteam_v2.asp?team=Masters+Of+Friggin+Ownage")
// Load XSL
var xsl = new ActiveXObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load("http://themofoclan.com/xml/mofoxsl1.xsl")
// Transform
document.write(xml.transformNode(xsl))</script>
Thank you for you help.