XML_RESTRICT_EMPTY_TAG in DSN6SPRM

Specifies whether Db2 always serializes an empty XML element using a start-element tag followed by an end-element tag.

Acceptable values: NO, YES
Default: NO
DSNZPxxx: DSN6SPRM XML_RESTRICT_EMPTY_TAG
Security parameter: No
NO
Db2 serializes an empty XML element in either of the following ways:
  • As a start-element tag followed by an end-element tag. For example:
    <emptyElement></emptyElement>
    
  • As an empty-element tag. For example:
    <emptyElement/>
    
YES
Db2 always serializes an empty XML element as a start-element tag followed by an end-element tag. For example:
<emptyElement></emptyElement>