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

public final class FnOutermost extends Object
/** Implements fn:outermost functions.
  • Method Details

    • fnOutermost

      @NonNull public static Stream<? extends INodeItem> fnOutermost(@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