- From: Andrew Fitzhugh <fitzhugh@cup.hp.com>
- Date: Mon, 14 Dec 1998 15:20:18 -0800
- To: "DOM List" <www-dom@w3.org>
In DOM level 1, Node::cloneNode() uses its deep parameter to make a distinction between cloning a node, and cloning a node and its children. It seems that Node::replaceChild() could also make a similar distinction: a "deep" replace replaces the node+children, and a "shallow" replace replaces the node, and the new node adopts the old one's children. Does DOM level 1 assume the deep replace as I've described it? If yes, would a shallow replace be useful? Regards, -- Andy ________________________________________________________________________ Andrew Fitzhugh fitzhugh@cup.hp.com HP Internet Imaging Operation
Received on Monday, 14 December 1998 18:20:42 UTC