I am using the DBMS_XMLQUERY package to generate some XML from a query. I am interested in turning off the <?xml version = '1.0'?> header tag that is returned with the XML document. I attempted the following unsuccessfully:
DBMS_XMLQUERY.setencodingtag (v_xml_query, '')
The document still comes back with the <?xml version = '1.0'?> header tag.
Can anyone tell me how to turn this off?