I have found lots of examples of this using XmlNodeList but sadly WP7 does not support this so im a bit stumped.
I have an XML document which looks a bit like this
<users>
<user id="50">
<username>testuser</username>
</user>
</users>
I need to be able to change the user id to another value and also allow the username to be changed.
I would also like to be able to remove the element with the user id of 50 for example.
Any help is very much appreiciated!
Thanks
Here’s a few different techniques, all using XLinq (and tested on WP7):