When writing/reading XML in vbScript, everything was easy because I could refer to nodes like an array (ex: main_node.sub_node). I am learning C#, and am having problems with XML. All books and resources show me how to write a full file. What if I want to change the value of one element? Let's say I have the following XML file:
Given the program knows the name "Redlehk", how would you go about reading in his age, and then writing back to the XML file a new age. If anyone can show me how this is done, or point me to a resource, I would greatly appreciate it.