I am using the below query to parse a HTML table as an XML in Oracle dynamically
SELECT ID,caption,amdtype AS Amendment_Reason FROM ( with tbl as ( SELECT ID,xmlt