Microsoft XML SDK 2.6 - XSLT Reference

last Function

Returns a number equal to context size of the expression evaluation context.

number last()

Remarks

The following finds the last author for each book:

book/author[last()]

See Also

XML Data Types Reference