The last function returns a number equal to the context size from the expression evaluation context.
Syntax
last()
Return value
An integer equal to the context size from the expression evaluation context.
Description
- This is often used with the position() function to determine if a particular node is the last in a node-set.
Specifications
Gecko support
Supported.
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
