Returns the local part of the name of
$arg as an
that is either the zero-length string, or has the lexical form of an
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.
If the argument is supplied and is the empty sequence, the function returns the zero-length string.
If the node identified by
$arg has no name (that is, if it is a document
node, a comment, a text node, or a namespace node having no name), the function returns
the zero-length string.
Otherwise, the function returns the local part of the expanded-QName of the node
$arg, as determined by the
defined in ). This will be an
xs:string whose lexical form is an
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 .