Xml.IsEmpty

Overview

Returns boolean value that states if the current node 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

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

Copyright © 2010 - 2023 Emakin. All rights reserved.