Skip to content

XmlNode.Equals

Overview

Boolean XmlNode.Equals ( [ xpath ], value )
Returns a boolean value that states if the specified xpath has the specified value.

Arguments

String xpath

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

Object value

Value to compare.

Remarks

Examples

Simple comparison

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

See Also