Dear All
I have written a following query to insert new child node inside a CLOB column, the content inside the CLOB is an XML.
update test_tbl SET new_xml = appendChildXML(xmltype(new_xml), '/EMP/Emp_id/EmpName/EmpSal', xmlType('<EmpBonus>500</EmpBonus>')).getClobVal() where emp_id = '4070';
The new childnode is getting inserted, but after insertion the XML format is completely changed. the entire XML is appearing in one single Line. Could someone please help me out here ?