W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1998

Re: Definition of cloneNode method

From: John Cowan <cowan@locke.ccil.org>
Date: Wed, 30 Dec 1998 13:47:15 -0500 (EST)
Message-Id: <199812301847.NAA08734@locke.ccil.org>
To: www-dom@w3.org
David Beech scripsit:

> Just to check my understanding of shallow cloneNode - this will copy the 
> chosen node, including its childNodes attribute, which (in IDL as in Java) 
> consists of references to other objects, i.e. to the original child nodes.  

No.  A shallow clone of a Node has no children; it is just the
"local" content of the node, without parent, siblings, or children.

John Cowan					cowan@ccil.org
		e'osai ko sarji la lojban.
Received on Wednesday, 30 December 1998 13:08:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:05 UTC