Joakim wrote:
> 
> 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?

You first need to import the node with the importNode() method on
Document. This is a DOM Level 2 addition, and is supported by Xerces.
-- 
Arnaud  Le Hors - IBM Cupertino, XML Technology Group

Reply via email to