Versions Compared

Key

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

Overview

Selects all matching nodes by specified xpath.

Array<Xml> myXml.SelectAll(xpath: string)

Selects all matching nodes by specified xpath.

Array<any> myXml.SelectAll(xpath: string, callback: (node: Xml, i: number) => any)

Arguments

string xpath
XPath of node to selected
(node: Xml, i: number) => any callback
Callback function to execute for each selected node. Optional.

Example

Basic usage

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