Skip to content

XmlNode.SelectAll

Overview

XmlNode[] XmlNode.SelectAll ( xpath, [ callback ] )
Selects all matching nodes by specified xpath.

Arguments

String xpath

XPath of node to selected

Function callback

Callback function to execute for each selected node. Optional.

Remarks

Examples

Basic usage

$Xml.SelectAll('//Customer', function() {
   var customerId = this.Evaluate('Id');
});

See Also