[jdom-interest] Moving Elements around...
jhunter at collab.net
Sun Apr 22 22:08:23 PDT 2001
philip.nelson at omniresources.com wrote:
> To move elements around within a document or between documents, get the
> element, .detach() it from the document, add it as content somewhere else
> with .addContent().
> Beware you don't detach the root element though. You could be in for a long
> discussion 'round here :^)
Oh how ironic that someone should ask how to move elements in the middle
of our discussion on detach() behavior. I really with the right answer
could be as simple as the first paragraph Phil wrote there.
More information about the jdom-interest