Write an xml file from the specified node?
- by Googler
Hi all,
This is my xml file
Input:
<world>
<patent>
<xml>a</xml>
<java>333</java>
<jaxb>111</jaxb>
</patent>
</world>
I need the read the above xml file and reproduce the following the output
Output:
<patent>
<xml>a</xml>
<java>333</java>
<jaxb>111</jaxb>
</patent>
I dont need the world element. How to achieve this using Xpath.
Can anyone help me on this?