Visit Mozilla.org

XPath:Functions:last

From MDC

XSLT/XPath Reference: XSLT elements, EXSLT functions, XPath functions, XPath axes

Contents


The last function returns a number equal to the context size from the expression evaluation context.

[edit] Syntax

last()

[edit] Returns

An integer equal to the context size from the expression evaluation context.

[edit] Notes

  • This is often used with the position() function to determine if a particular node is the last in a node-set.

[edit] Defined

XPath 1.0 4.1

[edit] Gecko support

Supported.