Skip to content

IsEmpty

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

1
myXml.IsEmpty():boolean

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

1
myXml.IsEmpty(xpath: string):boolean

Parameters

string xpath
    XPath to evaluate.

Remarks

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

Evaluate with an xpath

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