snowflake.snowpark.functions.xpath_boolean¶
- snowflake.snowpark.functions.xpath_boolean(col: Union[Column, str], path: str) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.48.0/src/snowflake/snowpark/functions.py#L12264-L12291)¶
Evaluates an XPath expression and returns the result as a boolean.
Returns FALSE if no matches are found. Follows XPath boolean coercion rules.
- Parameters:
col – Column containing XML data
path – XPath expression string
Example: