My Oracle Support Banner

How to Generate XML Data from a Query which Includes Namespace Information (Doc ID 372574.1)

Last updated on MARCH 07, 2023

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 9.2 to 10.2]
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.


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

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

sample namespace information needed:

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


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.