How To Generate XML File Specifying Empty Tag for Null Fields and Encoding UTF-8 for � and Accents (Doc ID 1288842.1)

Last updated on JANUARY 04, 2016

Applies to:

Oracle XML Developers Kit - Version 10.2.0.3 to 12.1.3.0.0 [Release 10.2 to 12.1]
Information in this document applies to any platform.
***Checked for relevance on 04-Jan-2016***

Goal


The Oracle-provided package DBMS_XMLGEN does not support characterset encoding,
and the package DBMS_XMLQUERY does not support empty tags.

The goal is to determine if there a single package that supports both empty tag and encoding,
given a need to generate an XML file specifying an empty tag for null fields and UTF-8 encoding
for � and accents.


Solution

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