SelectAll¶
Selects all matching nodes by specified xpath.
1 |
|
Selects all matching nodes by specified xpath with callback function.
1 |
|
Parameters¶
string xpath
XPath of node to selected.
(node: Xml, i: number) => any callback
Callback function to execute for each selected node. Optional.
Remarks¶
Basic usage¶
1 |
|
Basic usage¶
1 2 3 |
|
Using callback function to map selected nodes¶
```js var customerIds = $Xml.SelectAll('//Customer', function(customer) { return customer.Evaluate('Id'); });
See Also¶
- Array<Xml>