Overview
Returns a boolean value that states if the specified xpath has the specified value.boolean myXml.Equals(val: any)
boolean myXml.Equals(xpath: string, val: any)
Arguments
any val
Value to compare.
string xpath
XPath to evaluate. If not specified current node is used.
Example
Simple comparison
Code Block | ||
---|---|---|
| ||
var isDisabled = $Xml.Equals('//Customer/IsDisabled','True'); |