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. Valid values are NO and YES. NO is the default.
A value of NO means that 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/>
A value of YES means that DB2 always serializes an empty
XML element as a start-element tag followed by an end-element tag. For
example:
<emptyElement></emptyElement>