I have below a xml file with the below format:
string newCountry="UAE"
I want to insert this "UAE" country to the above xml file, before that I want to check whether "UAE" is already exists in the xml. If not exists then only want to insert otherwise no operation. How can I do this?

VulpesRank #55 · 29.2K reputationPosted Jul 20, 2014, 10:46 AM EDT
Jignesh TrivediRank #16 · 50.3K reputationPosted Jul 20, 2014, 8:47 PM EDT
Hi,
You can also do same thing using DataSet....
Please refer below link it might help you.
http://babasahebkale.blogspot.in/2012/11/insert-edit-update-delete-in-xml-file.html
http://www.dotnetfox.com/articles/insert-delete-update-records-in-xml-file-Asp-Net-using-C-Sharp-1016.aspx
hope this will help you.