@FunctionalInterface public interface ContextMappingFunction
This is a specialization of the more general MappingFunction class: it differs in that each item being processed becomes the context item while it is being processed.
NOTE: because this class is converted to a delegate in C#, it should not be subclassed; it should only be implemented by lambda expressions. This restriction does not apply to bytecode generation, which is not converted to C#.
SequenceIterator map(XPathContext context) throws XPathException
context- The processing context. The item to be mapped is the context item identified from this context: the values of position() and last() also relate to the set of items being mapped
XPathException- if a dynamic error is detected
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.