Oracle Solution for Error ora-19023

Solution for Oracle Error ORA-19023

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

What triggered the Error:

The first argument passed to the update value operator was not an XMLTYPE.

What should we do to fix it:

Rewrite the query so that the first argument to the UPDATEXML operator is XMLTYPE.