The CREATEXML static function creates and returns an XMLType instance. The CLOB parameter must contain a valid XML document in the correct format.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.
Syntax
The current OceanBase Database version allows you to create an XMLType instance from a string or CLOB. Syntax:
STATIC FUNCTION CREATEXML(
xmlData IN VARCHAR2)
RETURN XMLType;
STATIC FUNCTION CREATEXML(
xmlData IN CLOB)
RETURN XMLType;
Parameters
| Parameter | Description |
|---|---|
| xmlData | The actual data in the CLOB or VARCHAR2 data type or the type of the corresponding object. |