[xmljs-users] How to load an XML file with xml for script?
Brought to you by:
djoham,
witchhunter
From: Nermin B. <us...@gm...> - 2004-03-03 06:20:38
|
I would like to load an XML file from web server and parse its values while using xml for script. All examples I was able to found are limited to parsing XML that is within html on the page locally. Currently I am using Microsoft.XMLDOM for loading an separate XML file into page: xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async = false; while(xmlDoc.readyState != 4) {}; xmlDoc.load(mydata.xml); var rootNode = xmlDoc.documentElement; (And than reading elements) mydata.xml is an separate file stored locally. How will this code look with XML for script?? Thank you in advance: N.B. -- +++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz |