Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

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