I am trying to fetch data from database in XML format using Oracle XML DB options.One of the column in DB contains data in HTML format. But the HTML data is loaded as below
<sampleData> <HTML>
<Title>A sample page header</Title>
>body background="white"<
...</sampleData>
is there any way to fix this ?
You can use the
DBMS_XMLGEN.convertfunction to convert the encoded HTML to regular HTMLHere is an example in a fiddle