> felix wrote:
> 
> In the next code, this error appears
> "org.w3c.dom.DOMException: DOM005 Wrong document":

Don't forget to import the Node:

Document ownerDoc = // whether nodeChild's owner is
...
nodeChild.appendNode(ownerDoc.importNode(root, true));

-- 
Tom Bradford --- The dbXML Project --- http://www.dbxml.org/
We store your XML data a hell of a lot better than /dev/null

Reply via email to