source: xmlTools/trunk/posUpdate/jsXmlParser/tests.js@ 986

Last change on this file since 986 was 874, checked in by s10k, 12 years ago

XmlTools: v0.9

File size: 339 bytes
Line 
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.