html - XSL and XSLT Javascript Working in IE but not in Chrome and Firefox -


i have html file uses xsl , xml. works in ie (what surprise) not work in chrome , firefox. javascript in code works in ie. can me solving issue? have given 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> 

from xml example, seem using ie feature - xml data islands.

this cannot made work other browsers.

you need use standardized techniques in order in other browsers.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -