Skip to content

Equals

Returns a boolean value that states if the specified xpath has the specified value.

1
myXml.Equals(val: any):boolean

Returns a boolean value that states if the specified xpath has the specified value.

1
myXml.Equals(xpath: string, val: any):boolean

Parameters

any val
    Value to compare.

string xpath
    XPath to evaluate. If not specified current node is used.

Remarks

Simple comparison

1
var isDisabled = $Xml.Equals('//Customer/IsDisabled','True');