Skip to main content

node_name

Function node_name 

Source
pub fn node_name<N: DomNavigator>(
    context: &mut DynamicContext<'_, N>,
    args: Vec<XPathValue<N>>,
) -> Result<XPathValue<N>, XPathError>
Expand description

Implements fn:node-name - returns the QName of a node.

Element/Attribute: returns QName with prefix, local, namespace ProcessingInstruction/Namespace: returns QName with target/prefix Others: returns empty sequence