Module dev.metaschema.core
Class FnNamespaceUri
java.lang.Object
dev.metaschema.core.metapath.function.library.FnNamespaceUri
/** Implements fn:namespace-uri
functions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringfnNamespaceUri(INodeItem arg) Get the namespace URI of the provided node item.
-
Method Details
-
fnNamespaceUri
Get the namespace URI of the provided node item.Based on the XPath 3.1 fn:namespace-uri function.
- Parameters:
arg- the node item to get the namespace URI for- Returns:
- the namespace URI of the node if it has one, or an empty string otherwise
-