[Help]Edit XML Node[Solved]
Hi !
I want to edit an xml node, for example this is the xml:
In
, how would I change 'Tom' to something else, plus I also need to check the gender !!
Also it should loop through all XML !!
How can I do this ??
I want to edit an xml node, for example this is the xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<family>
<name gender="Male">
<firstname>Tom</firstname>
<lastname>Smith</lastname>
</name>
<name gender="Female">
<firstname>Dale</firstname>
<lastname>Smith</lastname>
</name>
</family>
Code:
<firstname>Tom</firstname>
Also it should loop through all XML !!
How can I do this ??

