The function xpath_exists is a specialized form of the xpath function.
Signatures & examples
xpath_exists ( xpath text, xml xml [, nsarray text[]] ) → boolean
The function xpath_exists is a specialized form of the xpath function. Instead of returning the individual XML values that satisfy the XPath 1.0 expression, this function returns a Boolean indicating whether the query was satisfied or not (specifically, whether it produced any value other than an empty node-set). This function is equivalent to the XMLEXISTS predicate, except that it also offers support for a namespace mapping argument.Version history 3