I have one xml document and I want to read some data from that. The XML document is like below :-
FYI - This is the actual XML file syntax used in our application.
Now I want to read the data from only one group say group name="AutoSaveView". How would I do that ? Is there anyway that I can directly search the section containing group AutoSAve and then I can read the values of different labels from that.
I tried using XDocument the following way:-
var doc = theFile.ToXML();
var groups = doc.Element("resources").Element("group");
After that I am unable to get to the AutoSave element.