Re: read-only parentNode -- revisited

On 7 Sep 98, at 10:57, Kirkpatrick, Alfie wrote:

> A final thought: perhaps a compromise might be to add a document
> context to the cloneNode method. For example:
> 
>  e.cloneNode(TRUE, mydoc)
> 
> That way, if an element didn't support INodeInternal, insertBefore could
> clone the node in the new document context.

One of the things on the list for Level 2 is to look at these sorts of 
methods of cloning Nodes for other documents. That seems to be 
a clean solution to the problem.

cheers,


Lauren

Received on Monday, 7 September 1998 10:55:44 UTC