Try the following: newNode = docOne.importNode( docTwo.getFirstChild() )
_______________________________________________________________ Linda Derezinski Interface & Control Systems -----Original Message----- From: Joakim [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2000 2:38 PM To: '[EMAIL PROTECTED]' Subject: question. Will xerces provide method for appending other Node implementation beside NodeImpl? Now when i try to appendChild of another Node implementation the following error is raised "WRONG_DOCUMENT_ERR". Why not make a conversion to xerces Node type instead of casting that exception? //jocke Joakim Olausson ([EMAIL PROTECTED]) CIC ([EMAIL PROTECTED]) Internet http://www.cic.se Telephone. +46 521 26 20 00 Telefax. +46 521 26 20 20