How to change a value of element or node in XML file

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi all, I have question that I have a xml file, I add it to my Project C# Win Form, Now I want to change a value of 1 node or element, so what I need to do. Please give a guide or link or example project to me reference, thank very much.
Here is demo file xml and picture demo.
<pre class="prettyprint" style=" <?xml version="1.0" encoding="utf-8"?>
<data>
<book>
<bookID>1111</bookID>
<bookName>English</bookName>
<bookPrice>2$</bookPrice>
</book>
<book>
<bookID>222</bookID>
<bookName>USA</bookName>
<bookPrice>3$</bookPrice>
</book>
<book>
<bookID>333</bookID>
<bookName>Singapore</bookName>
<bookPrice>4$</bookPrice>
</book>
</data>[/code]
http://i1055.photobucket.com/albums/s505/vn_photo/33-1.jpg<br/>
<br/>

View the full article
 
Back
Top