J
jen_designs
Can you load 2 xml files on an html page via javascript? I can get one
xml file to load, using the following code. How about two. I need to
combine 2 xmls files on the client. Any other way to do this?
<script type="text/javascript">
var xml = new ActiveXObject("Microsoft.XMLDOM")
xml.async = false
xml.load("myXML.xml")
var xsl = new ActiveXObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load("myXSL.xsl")// Transform
document.write(xml.transformNode(xsl))
</script>
xml file to load, using the following code. How about two. I need to
combine 2 xmls files on the client. Any other way to do this?
<script type="text/javascript">
var xml = new ActiveXObject("Microsoft.XMLDOM")
xml.async = false
xml.load("myXML.xml")
var xsl = new ActiveXObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load("myXSL.xsl")// Transform
document.write(xml.transformNode(xsl))
</script>