-
transformNode does not work?
I have IE5 and msxml.dll version 8.0.5718.1 and this code does not work, please
help.
<script language="JavaScript">
<!--
function fnXML()
{
var oXML;
var oXSL;
var oRes;
var str = '';
oXML = new ActiveXObject('Microsoft.XMLDOM');
oXSL = new ActiveXObject('Microsoft.XMLDOM');
oRes = new ActiveXObject('Microsoft.XMLDOM');
oXML.async = false;
oXML.load('asus.xml');
alert(oXML.xml);
oXSL.async = false;
oXSL.load('transform.xsl');
alert(oXSL.xml);
str = oXML.transformNode(oXSL);
divXML.innerText = str;
alert(str);
oXML.transformNodeToObject(oXSL.lastChild,oRes);
alert(oRes.xml);
}
//-->
</script>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|