Oracle Message ORA-19248 - XQTY0028 - invalid node in document constructor

ERRORXQTY0028 - invalid node in document constructor
CAUSEThe content sequence in a document constructor contained either a document or an attribute node.
ACTIONFix the content so it does not contain any of the above node types.