Xml.Equals
Overview
Returns a boolean value that states if the specified xpath has the specified value.
boolean myXml.Equals(val: any)
Returns a boolean value that states if the specified xpath has the specified value.
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
var isDisabled = $Xml.Equals('//Customer/IsDisabled','True');
Copyright © 2010 - 2023 Emakin. All rights reserved.