Class GenerateSequence

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

public class GenerateSequence extends SystemFunction
This class implements the function saxon:generate-sequence(). This has been proposed as an XPath 4.0 extension (PR 2350) but has not achieved consensus for adoption.
  • Constructor Details

    • GenerateSequence

      public GenerateSequence()
  • Method Details

    • call

      public Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
      Evaluate the expression
      Parameters:
      context - the dynamic evaluation context
      arguments - the values of the arguments
      Returns:
      the result of the evaluation (always delivered lazily)
      Throws:
      XPathException - if a dynamic error occurs during the evaluation of the expression