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

I don't really understand what the problem is.  Document.cloneNode
with a shallow copy would just be another Document identical to this
one but without children.  For a deep copy, do a shallow copy and
then traverse the tree below this Document.  For each Node, invoke the
proper createXXX factory method on the new Document and copy all the
(IDL) attributes: then insert it into place in the new tree.

Am I missing something?

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

Received on Wednesday, 9 September 1998 12:45:30 UTC