Toggle navigation
Type: enum
Default: content
Context: user
Restart: false
Values: [content, document]

Sets whether DOCUMENT or CONTENT is implicit when converting between XML and character string values. See datatype-xml for a description of this. Valid values are DOCUMENT and CONTENT. The default is CONTENT.

According to the SQL standard, the command to set this option isSET XML OPTION { DOCUMENT | CONTENT }; This syntax is also available in PostgreSQL.