Hi!
i need to insert a new element in an existing xml document. for example,
<details>
<person>
<name>Anu</name>
<email>abc@yahoo.com</email>
</person>
<person>
<name>thara</name>
<email>xyz@gmail.com</email>
</person>
</details>
In this document if i want to insert another element using Xpath, say,<publisher> in <book> node, how to insert it.
I'm using DOM parser for parsing the xml file.
Any help to solve this issue appreciated.
Thanks in advance.