Using dbms_xmlgen as a means of dynamic SQL