Oracle Error ORA-19243: XQTY0023 – invalid document node content in element constructor

Oracle Error Message

ORA-19243: XQTY0023 – invalid document node content in element constructor

Reason for the Error

The content sequence in an element constructor contained a document node.

Solution

Change the content of the element constructor so that it does not contain a document node.