Python not able to save some CLOB xml into xml file
Python not able to save some CLOB xml into xml file Question: I have this xml saved as CLOB in my oracle database: <?xml version=”1.0″ encoding=”UTF-8″?> <DCResponse> … </DCResponse> and with this python code I am able to save content into xml file: sql = “select extract(xmltype.createxml(xml), ‘//DCResponse’).getStringVal() from table t where id = 2” …