The XPathNumber() function executes the given XPath query on XML text and returns the result as a number.
XPathNumber()
Follow this linkarrow-up-right to learn more about XPath.
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns an number that is the result of an xpath query.
If the result is a list then returns the length of the list.
XPathNumber(
xml
,
xpath
)
XPathNumber([Settings.BookStoreXml], "/bookstore/book[price>30]") => 2
XPathNumber([Settings.BookStoreXml], "/bookstore/book[price>30]")
text
☑️
Text that contains XML
Text that contains an XPath query
Last updated 7 months ago
Was this helpful?