last Function
A version of this page is also available for
4/8/2010
Returns a number equal to context size of the expression evaluation context.
Syntax
number last()
Parameters
None.
Return Value
Returns a number equal to context size of the expression evaluation context.
Remarks
The following finds the last author for each book.
book/author[last()]