The XPath()
function executes the given XPath query on XML text and returns the result as text.
Follow <a href="https://en.wikipedia.org/wiki/XPath" target="_blank">this link</a> to learn more about XPath.
Syntax
XPath(xml, xpath)
Returns
A text value that contains the result of an xpath query.
Parameters
xml
– Text that contains XMLxpath
– Text that contains an XPath query