xpath.evaluate

xpath.evaluate(string, expression)

Returns the result of evaluating the xpath expression against the XML string. Returns a list of strings containing the selected values. The result is always a list, even if the expression is guaranteed to always return just one result.

The expression must be one that returns tag attributes or body text - expressions returning DOM nodes will result in an error that terminates execution of the pattern.

Was this page helpful? Yes No Submitting... Thank you

Comments