Skip to content

XmlNode.Count

Overview

Number XmlNode.Count ( [ xpath ] )
Returns number of nodes on specified xpath.

Arguments

$paramType Argument Name

XPath to count. If not specified current node childs are selected.

Remarks

Examples

Evaluate with an xpath

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

See Also