Versions Compared

Key

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

Overview

Returns boolean value that states if the current node or specified xpath has an empty string.

boolean myXml.IsEmpty()

Returns boolean value that states if the current node or specified xpath has an empty string.

boolean myXml.IsEmpty(xpath: string)

Arguments

string xpath
XPath to evaluate.

Remarks

Returns true if the specified xpath does not correspond to an existing node.

Example

Evaluate with an xpath

Code Block
languagejs
var isNameEmpty = $Xml.IsEmpty('//Customer/Name');