0
    <E id="1">
    .....
    <E id="2">
    ....
    </E>
    .
    .
    .
    </E>

I want to delete the complete node of which is having id=2 from its parent node. how to do this with Java? Thanks in Advance.

Ben
  • 3,012
  • 1
  • 21
  • 25
Rakesh Mahapatro
  • 866
  • 5
  • 12

1 Answers1

0

I think you need to use instantiate a copy of XMLModifier and call the "remove()" method. Let me know if you need more info on this.

vtd-xml-author
  • 3,319
  • 4
  • 22
  • 30