[jdom-interest] b7 problem

Jason Hunter jhunter at collab.net
Tue Jun 26 17:11:10 PDT 2001


Sonya Pettit wrote:
> 
> I assume there was a change made that will require me to remove 
> the element from its parent before adding it to a new document.  

Exactly.

> Is this the case and if so is removeChild(String) the recommended 
> way to go about it?

removeContent(Element) is probably easier.  There's also elt.detach() to
have the element do its own detach.

-jh-



More information about the jdom-interest mailing list