fn:node-name

Return expanded QName of a node.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:


Syntax

fn:node-name(node()? $arg) => xs:QName?

Description

This function returns an expanded QName for those kinds of nodes that can have names. For other kinds of nodes it returns the empty sequence. If $arg is the empty sequence, the empty sequence is returned.

Argument

$arg

any kind of node