The following table lists the XML functions supported by OceanBase Database in the current version.
| Function | Description |
|---|---|
| XMLAGG | Aggregates a set of XML fragments into a single XML document. |
| XMLATTRIBUTES | Specifies a set of attributes for an XML element. |
| XMLELEMENT | Generates an XML element with a specified name, attributes, and content. |
| XMLPARSE | Parses a string into an XMLType data type. |
| EXTRACT | Extracts an XML fragment based on an XPath expression, and returns the concatenated result of all nodes matched by the XPath expression. |
| EXTRACTVALUE | Extracts an XML fragment based on an XPath expression and returns a scalar value. |
| XMLSERIALIZE | Serializes an XMLType data type into a VARCHAR2 or CLOB data type. |
| XMLCAST | Extracts the content of an XML document (excluding element names) and converts it into another data type. |
| XMLTABLE | Maps the results returned by an XPath expression to rows and columns of a relational table. |
| XMLSEQUENCE | Converts the content of an XML document into a VARRAY of XML elements. |
| UPDATEXML | Modifies an XMLType data type. |
| INSERTCHILDXML | Inserts a specified XML fragment into a target XML document. |
| DELETEXML | Deletes one or more nodes matched by an XPath expression in an XML document. |
The following table lists the XML functions not supported by OceanBase Database in the current version.
| Function | Description |
|---|---|
XMLEXIST |
Checks whether a specified XPath path exists in XML data. |
XMLISVALID |
Verifies whether an XML document conforms to its XML schema definition. |
XMLQUERY |
Executes an XQuery expression to query XML data. |
