Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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');
  • No labels