Class Index

All Implemented Interfaces:
Callable, FunctionItem, GroundedValue, Item, Sequence

public class Index extends SystemFunction
This class supports the extension function saxon:index, which returns an indexed sequence
  • Constructor Details

    • Index

      public Index()
  • Method Details

    • call

      public Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
      Evaluate this function call at run-time
      Parameters:
      context - The XPath dynamic evaluation context
      arguments - The values of the arguments to the function call.
      Returns:
      the results of the function.
      Throws:
      XPathException - if a dynamic error occurs during evaluation of the function. The Saxon run-time code will add information about the error location.