Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi I am creating Xml string from an Xml file like this
C#
xml=loadXMLDoc("data.xml");
parser=new DOMParser();
xmlDoc=parser.parseFromString(xml,"text/xml");
x=xmlDoc.getElementsByTagName("A")[0].childNodes[0];
x.nodeValue="123";


I am confused how to use the xmlDoc object to update the data.xml file on button click.
Posted
Updated 5-Aug-12 21:26pm
v2
Comments
Sergey Alexandrovich Kryukov 6-Aug-12 13:12pm    
Please: language, platform?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900