Re: Copying from one DOM to another

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
successfully.

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