java.lang.Object
dev.metaschema.core.metapath.function.library.FnNamespaceUri

public final class FnNamespaceUri extends Object
/** Implements fn:namespace-uri functions.
  • Method Details

    • fnNamespaceUri

      @NonNull public static String fnNamespaceUri(@NonNull INodeItem arg)
      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