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 ResearchReceived on Tuesday, 7 November 2000 10:44:54 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT