Reading and updating xml c
I work and installed xerces-c library that I think is needed to use DOM or SAX2 parser to read it.
Name "\n"); Xml Document doc Sub = new Xml Document(); doc Sub.
and please don't write a name of solution such as "Ling to xml"...acutally, i do many testes, but failed.
is it possible such as this function bool Delete Song By Artist(string s Artist); bool Change Node In Song(string s Artist, string s Node Name, string value); because the "Reading solution is "Xml Ducoment", so it is better if "changing solution" by using "Xml Document" but, if you have better idea to read and change the xml file, please give me the sample code...
Here is sample code: article shows how to edit xml-files using a Grid View control.
Basically if the task is transformation then XSLT, if the task is manipulation then LINQ.My favorite tool for this kind of thing is Html Agility Pack.I use it to parse complex HTML documents into LINQ-queryable collections. Save("c:/add.xml"); //remove the added element and save to Xml Element root = doc. My purpose is to give some textboxes to the user so that he can write some information that i want save on the XML file. Save("c:/modified.xml"); I do not want to work with Grid View.