XmlNode.SelectSingle
Overview¶
XmlNode XmlNode.SelectSingle ( xpath, [ callback ] )
Arguments¶
String xpath
XPath of node to select.
Function callback
Callback function to execute on selected node.
Remarks¶
If multiple nodes found on xpath, first node is selected.
Examples¶
Basic usage
$Xml.SelectSingle('//Customer', function() { var customerId = this.Evaluate('Id'); });