Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How clone a XML-document (DOM)

843834Jun 6 2005 — edited Jun 6 2005
I have a two XML-documents and now I should make a new XML-document by using a DOM. This document includes all elements of these two old documents. All documents (trees) located in a RAM-memory ( not a file).

I think that the Document is an interface and therefore it can not be clone.

If I clone a root node, does the child and sibling nodes clone to?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 4 2005
Added on Jun 6 2005
1 comment
219 views