I have a HTML file which Uses XSL and XML. It works perfectly in IE (What a Surprise) but it does not work in Chrome and Firefox. The JavaScript in the code works only in IE. Can anybody help me solving this issue? I have given the JavaScript below
<BODY onload="view()" topmargin="10" leftmargin="5" rightmargin="5" bottommargin="10" marginwidth="0">
<div ID="divResults">
</div>
<script language="javascript">
var xmlDOM, xslDOM;
function view() {
xslDOM = XSLStyle.XMLDocument;
xmlDOM = REPORT.XMLDocument;
document.getElementById("divResults").innerHTML = xmlDOM.transformNode(xslDOM);
}
function dsble_Help() {
return false;
}
document.onhelp = dsble_Help
</script>
REPORT ID :
<XML ID="REPORT">
<REPORT>
<HD>
<RPTID>NAE100RX</RPTID>
<RUNDT>04/29/2013</RUNDT>
<RUNTM>17.24.13</RUNTM>
<ASOFDT>04/29/2013</ASOFDT>
<HD1>CREATE TRIGGERS EXCEPTION REPORT</HD1>
<HD2>FOR 04/29/2013</HD2>
<HD3></HD3>
</HD>
<XPAGE>
<RPAGE>1</RPAGE>
<AE100XCNT>0</AE100XCNT>
<EXDATA></EXDATA>
</XPAGE>
</REPORT>
XSLStyle.XMLDocumentandREPORT.XMLDocument? Where do they come from?