source:
xmlTools/trunk/posUpdate/jsXmlParser/tests.js@
908
Last change on this file since 908 was 874, checked in by , 12 years ago | |
---|---|
File size: 339 bytes |
Rev | Line | |
---|---|---|
[874] | 1 | //instantiate the W3C DOM Parser |
2 | var parser = new DOMImplementation(); | |
3 | ||
4 | //load the XML into the parser and get the DOMDocument | |
5 | var domDoc = parser.loadXML($xmlData); | |
6 | ||
7 | domDoc.getDocumentElement().getElementsByTagName("InitialTransform").item(0).firstChild.setNodeValue("Jogh"); | |
8 | ||
9 | $xmlData=domDoc.getDocumentElement().getXML(); |
Note:
See TracBrowser
for help on using the repository browser.