fn:nilled

Returns true if the argument is an element that has the "nilled" property.

nilled($arg as node()?) ➔ xs:boolean?

Arguments

 

$arg

node()?

The node (typically an element) to be examined to see if it is nilled

Result

xs:boolean?

Namespace

http://www.w3.org/2005/xpath-functions

Links to W3C specifications

XPath 2.0 Functions and Operators

XPath 3.0 Functions and Operators

XPath 3.1 Functions and Operators

Notes on the Saxon implementation

This function will always return false in the case of an untyped node, which means it will always return false for external object models that do not support typed (schema-validated) data, such as the DOM and JDOM models. Essentially the function returns true if (a) the node is schema-validated, and (b) it has the attribute xsi:nil="true".