Tests node existence having evaluated given XPATH expression.The member function calculates the given XPATH expression xpath_expn using the XML entity of the instance as a context node. If a namespace_map parameter is given then the function adds namespace declarations from this parameter into the beginning of xpath_expn before the evaluation. The function returns 1 if the first result of XPATH evaluation is a node or 0 if there are no results or if the first result is not a node.
Tests node existence having evaluated given XPATH expression.The member function calculates the given XPATH expression xpath_expn using
the XML entity of the instance as a context node. If a namespace_map parameter
is given then the function adds namespace declarations from this parameter into the beginning of
xpath_expn before the evaluation.
The function returns 1 if the first result of XPATH evaluation is a node or 0 if there are no results or if the first result is not a node.