[jdom-interest] detaching root element from the document

Ken Rune Helland kenh at csc.no
Tue May 29 05:16:16 PDT 2001

At 05:14 PM 5/29/2001 +0530, Abhishek Srivastava wrote:
>Hello Simon,
>Thanks for your mail. I did built the Java Docs and now I know for sure that
>there is no API called detach() in Element class.
>But now, what should I do to detach a rootElement from the document and add
>it to another document ?

You must have an old version, Element.detach() has been there at least
since beta6.

You can download the last beta or the latest sourcedrop
from http://www.jdom.org/.


More information about the jdom-interest mailing list