At 18.25 13/06/2006 +0100, Mannion, Enda wrote:
Hi,
I have two xml documents and I want to copy a node from one document
to another.
[...]
I find the node in one document and store the pointer in a DOMNode* node.
But when I do this I get an exception
newNode->appendChild(node);
I get this exception: WRONG_DOCUMENT_ERR:
I know I am working off two different documents, so can someone
suggest how I go about doing this.
newNode->appendChild(newNode->getOwnerDocument()->importNode(node));
Alberto
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]