W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1999

Merging DOM nodes from multiple documents

From: Larry Watanabe <LWatanab@JetForm.com>
Date: Fri, 16 Apr 1999 09:20:19 -0400
Message-ID: <111CF63B7D2ED211830000805F65A2FFAD8749@OTTMAIL2>
To: www-dom@w3.org

The current DOM specification for insert operations specifies that it throw
an exception if newChild was created from a different document than the one
that created this node.  

Q1: If you do want to import nodes from multiple documents, is there an API
call to change the owner of a node, or to make a copy within another
document of a node from another?

I suppose one could do it by hooking up input/output streams, but I think
the API should support these operations.

Q2: Does anyone else have a requirement to merge/import DOM's ?

Thank you.

-Larry Watanabe   lwatanab@jetform.com
Received on Friday, 16 April 1999 09:28:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT