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

  • Question

  • 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.

    <?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>
    http://i1055.photobucket.com/albums/s505/vn_photo/222.jpg


    Sunday, November 18, 2012 3:57 PM

Answers

All replies