Returns true for an element that is
If the argument is omitted, it defaults to the context item (
behavior of the function if the argument is omitted is exactly the same as if the
context item had been passed as the argument.
$arg is the empty sequence, the function returns the empty sequence.
Otherwise the function returns the result of the
dm:nilled accessor as
defined in (see ).
The following errors may be raised when
$arg is omitted:
If the context item is absent, dynamic error
If the context item is not a node, type error .
$arg is not an element node, the function returns the empty
$arg is an untyped element node, the function returns false.
In practice, the function returns
true only for an element node that has
xsi:nil="true" and that is successfully validated against a
schema that defines the element to be nillable; the detailed rules, however, are defined