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

Re: Copying from one DOM to another

From: Joseph Kesselman/Watson/IBM <keshlam@us.ibm.com>
Date: Tue, 7 Nov 2000 10:43:49 -0500
To: Elena Litani <hlitani@jtcsv.com>
Cc: "Juan J. Merelo" <jj.merelo@civista.com>, www-dom@w3.org
Message-ID: <OF46157D1A.F8A60020-ON85256990.00564687@pok.ibm.com>

The Level 3 adoptNode() method is definitely not the right answer for this
particular cases. adoptNode() will only succeed when the two Documents are
in "the same implementation" -- and even subclasses of the same
implementation may not be compatable enough for adoptNode() to run

Unless tidy is using the Xerces DOM, you will definitely not be able to
adopt tidy's nodes.

Joe Kesselman  / IBM Research
Received on Tuesday, 7 November 2000 10:44:54 UTC

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