Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to traverse an xml file? I have to insert or update a record by finding with the appropriate node if it is the new set of records like app,module,table,cloumn. Then it has to add in the xml file or if all the records having the same data but one new column is there then with in that same app,same module,same table that new column should be added. So, how to do that one? Please tell me.
Posted
Updated 31-Jan-11 19:13pm
v2

1 solution

If "traverse" is what you need precisely, the absolutely best way to do is System.Xml.XmlReader. Is you want manipulation of the data, simplicity and not the best performance, using DOM will be easier, see the class System.Xml.XmlReader.

Please see Microsoft help on the topic and the samples; they are clear enough.

—SA
 
Share this answer
 
v3

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