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

public final class FnLocalName extends Object
/** Implements fn:local-name functions.
  • Method Details

    • fnLocalName

      @NonNull public static String fnLocalName(@NonNull INodeItem arg)
      Get the name of the provided node item.

      Based on the XPath 3.1 fn:local-name function.

      Parameters:
      arg - the node item to get the name for
      Returns:
      the name of the node if it has one, or an empty string otherwise