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

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

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