Overview
Returns string value of a specified xpath.string myXml.Evaluate()
string myXml.Evaluate(xpath: string)
Arguments
string xpath
XPath to be evaluated. If not specified, the current node is used.
Remarks
Finding the value of a current customer's Id:
Example
Evaluate with an xpath
var id = $Xml.Evaluate('CustomerInformation/Customer/Id');
Example
Evaluate with an xpath
var id = $Xml.Evaluate('//Customer/Id');