I have extracted a DomNode
from a XML. I then tried to insert it to another DomNode
located in a different DOMDocument
using appendChild(DOMNode*)
but I got a DOMException
.
The exception:
node is used in a different document than the one that created it
The question:
How can I move a DomNode
from one DOMDocument
to another?