XPathNumber

circle-info

The XPathNumber() function executes the given XPath query on XML text and returns the result as a number.

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.

circle-check

Syntax

chevron-rightXPathNumber(xml,xpath)hashtag

XPathNumber([Settings.BookStoreXml], "/bookstore/book[price>30]") => 2

Parameters

Name
Type
Required
Description

xml

text

☑️

Text that contains XML

xpath

text

☑️

Text that contains an XPath query

Last updated

Was this helpful?