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.

Start of changeA value of NO means that DB2 serializes an empty XML element in either of the following ways:End of change

  • 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>