How to Generate XML Data from a Query which Includes Namespace Information

(Doc ID 372574.1)

Last updated on MARCH 23, 2011

Applies to:

Oracle Server - Enterprise Edition - Version: to - Release: 9.2 to 10.2
Information in this document applies to any platform.
***Checked for relevance on 21-Dec-2009***


How to generate xml data from a query which includes specific namespace information. 

(This note is created as a workaround  for  <> "XMLFORMAT.CREATEFORMAT WITH USE_GIVEN_SCHEMA GETS ORA-600" )

sample namespace information needed:

xmlns:xsi="" xsi:noNamespaceSchemaLocation="plan.xsd"


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms