Subject:Using javascript to transform xml Author:fsda fdas Date:01 Jun 2006 01:42 PM
I'm currently using the following javascript to transform xml. However, it does not work in Firefox. Does anyone know why or if there is code available that could accomplish this in both IE and Firefox?
Thanks.
<html>
<body>
<script type="text/javascript">
// Load XML
var xml = new ActiveXObject("Microsoft.XMLDOM")
xml.async = false
xml.load("all.xml")
// Load XSL
var xsl = new ActiveXObject("Microsoft.XMLDOM")
xsl.async = false
xsl.load("all.xsl")