This section describes functions that provide the following functionality:
Return information about an XML type instance:
- DataSize
Create XML nodes and sequences of XML nodes of different types:
- CREATEXML
- XMLDOCUMENT
- XMLELEMENT
- XMLFOREST
- XMLCONCAT
- XMLCOMMENT
- XMLPI
- XMLTEXT
- XMLAGG
XML processing operations such as parsing, validation and query:
- XMLPARSE
- XMLVALIDATE
- XMLQUERY
- XMLSERIALIZE
- XMLTABLE
- XMLSPLIT
The functions are ANSI SQL/XML (SQL 2008) compliant.
If the argument you pass to these functions is a large object argument, it is implicitly cast to XML type, and such arguments cannot be larger than 64KB. For example, you cannot construct an element using XMLELEMENT where the content of the element is specified by a large object that is greater than 64KB in size.
The examples in this section reference tables, files, and data defined in: