Jump to content

How to suppress <?xml version = '1.0'?> in XML file generation thru PLSQL?


chanveil
 Share

Recommended Posts

Hi,I am using 1. dbms_xmlgen.newContext to get the information from table.2. After that I am using dbms_lob.createtemporary3. Then I am using dbms_xmlgen.getXml4. Finally I am using dbms_xmlgen.closecontextI am using the above four steps to repatedly taking records from different tables.My requirement is : Each and every time I am getting the <?xml version = '1.0'?>.How to suppress <?xml version = '1.0'?> ?Regards

Link to comment
Share on other sites

Is that in .NET or what?From what classes are those methods? If they're custom, can you show their source?There is typically a way to serialize the content with the XML prolog being removed, but it's different in every API, so I can't tell you for sure how it's in your case.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...