Creates an XQuery document node from an XML type value.
Syntax
XMLDOCUMENT (
XML_value_expr
[ RETURNING { CONTENT | SEQUENCE } ]
)
- XML_value_expr
- An instance of the XML type.
- RETURNING CONTENT
- The return value is a document node with one or more child element nodes.
- RETURNING SEQUENCE
- The return value is a sequence (an ordered collection of items, each of which can either be a valid Xquery node or atomic value). This is the default.