Change the Value of an Element in XML - XML Views : 208
Tagged in : XML
0 0
Send mail
The following code changes the text value of the first <title> element:

Example
*******

x=xmlDoc.getElementsByTagName("title")[0].childNodes[0];
x.nodeValue="Easy Cooking";
By satheesh, On - 2010-01-30



    Login to add Comments .