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 5 Next »

Overview

Returns boolean value of the current node.

boolean myXml.EvaluateBoolean()

Returns boolean value of the specified xpath.

boolean myXml.EvaluateBoolean(xpath: string)

Arguments

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

Remarks

This method checks the evaluated value is (non-case sensitive) equal to "false" or "0" or empty value. All other values are evaluated as true value.

Example

Evaluate with a xpath

var isDisabled = $Xml.EvaluateBoolean('//Customer/IsDisabled');

See Also

  • No labels