how we can edit the content of the element in XML using libxml2
example:
this is my xml file
<record>
<firstname>sree</firstname>
<lastname>cnu</lastname>
</record>
know i wan t to change the lastname to "vasu"
so my final xml is
<record>
<firstname>sree</firstname>
<lastname>vasu</lastname>
</record>
how can i do this
i know deletion and creation of elemets but i don't know how to edit.
thank u, inadvance
sree.