You are viewing documentation about an older version (1.1.0). View latest version

snowflake.snowpark.functions.check_xml¶

snowflake.snowpark.functions.check_xml(col: ColumnOrName) → Column[source]¶

Checks the validity of an XML document. If the input string is a valid XML document or a NULL (i.e. no error would occur when parsing the input string), the function returns NULL. In case of an XML parsing error, the output string contains the error message.