I need to send HTML emails directly from oracle PL/SQL package. This works almost fine.
I have problem with the fact that some of the data fetched from a table conta
Also available is DBMS_XMLGEN.CONVERT which can handle a clob.
Example:
select DBMS_XMLGEN.CONVERT('') from dual
Details: https://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_xmlgen.htm