java.lang.Object
dev.metaschema.core.metapath.function.library.FnName
/** Implements
fn:name
functions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringfnName(INodeItem arg, StaticContext staticContext) Get the name of the provided node item.
-
Method Details
-
fnName
Get the name of the provided node item.Based on the XPath 3.1 fn:name function.
- Parameters:
arg- the node item to get the name forstaticContext- the static context used to resolve the namespace prefix- Returns:
- the name of the node if it has one, or an empty string otherwise
-