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

public final class FnInnermost extends Object
Implements fn:innermost functions.
  • Method Details

    • fnInnermost

      @NonNull public static Stream<? extends INodeItem> fnInnermost(@NonNull List<? extends INodeItem> arg)
      Get every node within the provided list that is not an ancestor of another member of the provided list.

      The nodes are returned in document order with duplicates eliminated.

      Based on the XPath 3.1 fn:innermost function.

      Parameters:
      arg - the node items check
      Returns:
      the nodes that are not an ancestor of another member of the provided list