Oracle Message ORA-19023 - The first argument to UPDATEXML operator has to be an XMLTYPE

ERRORThe first argument to UPDATEXML operator has to be an XMLTYPE
CAUSEThe first argument passed to the update value operator was not an XMLTYPE.
ACTIONRewrite the query so that the first argument to the UPDATEXML operator is XMLTYPE.