I have the following XML file. I have managed to create a code that adds and removes data. However, I am not able or found anything helpful on how to edit the existing data. My goal is to let the user through a form to write the existing (let's say name) Ben and in another textbox the desired name and submit. I am able to create the form and parse the two vars. Thank you!
the xml
<?xml version="1.0" encoding="utf-8"?>
<messages>
<message time="1248083538">
<name>Ben</name>
<email>Ben's Email</email>
<msg>Bens message</msg>
</message>
<message time="1248083838">
<name>John Smith</name>
<email>john@smith.com</email>
<msg>Can you do this for me?</msg>
</message>
</messages>