Jump to content

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

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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...