Change the Value of an Element in XML
by satheesh[ Edit ] 2010-01-30 10:27:24
The following code changes the text value of the first <title> element:
Example
*******
x=xmlDoc.getElementsByTagName("title")[0].childNodes[0];
x.nodeValue="Easy Cooking";