W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

Re: Should Document.cloneNode() work in Level 1?

From: Don Park <donpark@quake.net>
Date: Tue, 8 Sep 1998 13:37:54 -0700
Message-ID: <000c01bddb68$92af36c0$2ee044c6@arcot-main>
To: <www-dom@w3.org>
>newDoc.createCopy(node, false); // for a shallow copy
>newDoc.createCopy(node, true); // for a deep copy

I have no problem with this proposal particularly because it shifts the
responsibility of copying to the destination document.  It feels right.

Don Park
Received on Tuesday, 8 September 1998 16:47:17 GMT

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