[jdom-interest] Processing XML with Java book

Antonello Dell'Armi A.Dellarmi at ELIS.ORG
Fri Dec 13 05:38:30 PST 2002


In the book Processing XML with Java chapter 15 (The JDOM Model ) i read
[...]
For example, this deletes the first link child element of the channel element: 

channel.removeChild(channel.getChild("link"));

but  getChild(java.lang.String name) return an element and there is no method removeChild(Element) , but only removeChild(java.lang.String name) or removeChild(java.lang.String name, Namespace ns) what do you think about?
I have a problem to delete a child. What method can i use?

Best Regards
@nto


           



More information about the jdom-interest mailing list