Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Returns number of nodes at specified xpath

number myXml.Count()

Returns number of nodes at specified xpath

number myXml.Count(xpath: string)

Arguments

string xpath
XPath to count. If not specified, the current node children are selected.

Example

Evaluate with an xpath

Code Block
languagejs
var customerCount = $Xml.Count('//Customer');