Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

var customerCount = $Xml.Count('//Customer');
  • No labels