The function xpath evaluates the XPath 1.0 expression xpath (given as text) against the XML value xml.
Signatures & examples
xpath ( xpath text, xml xml [, nsarray text[]] ) → xml[]
The function xpath evaluates the XPath 1.0 expression xpath (given as text) against the XML value xml. It returns an array of XML values corresponding to the node-set produced by the XPath expression. If the XPath expression returns a scalar value rather than a node-set, a single-element array is returned.Version history 4