Oracle Error Message
OCI-31185: DOM Nodes do not belong to the same DOM Document
Reason for the Error
The specified PL/SQL DOM Node does not belong to the parent DOM Document of the referring DOM Node.
Solution
Ensure that both the DOM Nodes are part of the same DOM Document.