Hi,
You
will have to first import the node into the DOMDocument in which you are going
to add it because the owner documents of both these nodes are different(and
hence the exception).
use
the importNode() method
-AS
-----Original Message-----
From: Milan Tomic [mailto:[EMAIL PROTECTED]
Sent: Monday, November 10, 2003 3:30 PM
To: Xerces-C
Subject: DOMException (WRONG_DOCUMENT_ERR)
I tried to append one tag from one file to the other tag from the other file and got WRONG_DOCUMENT_ERR error. How can I solve this problem?
Best regards,
Milan
