W3C home > Mailing lists > Public > www-dom@w3.org > January to March 1999

RE: Is there a method to copy a node from one document to another

From: Borden, Jonathan <jborden@mediaone.net>
Date: Wed, 13 Jan 1999 20:24:27 -0500
To: "DOM List" <www-dom@w3.org>
Message-ID: <000901be3f5c$a0a01760$d3228018@jabr.ne.mediaone.net>
Another technique is to serialize the document fragment and then reconstruct
it in the other document.

Jonathan Borden
http://jabr.ne.mediaone.net

>
> > I am using the DOM with java servlets and I couldn't find any method
> > to copy a node from one document to another document.
> > Thanks for your help
>
> There is none.  You have to create a node in the destination document
> and set the attributes one by one.
>
Received on Wednesday, 13 January 1999 20:27:57 GMT

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