次の方法で共有


last Function (Compact 2013)

3/26/2014

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()]

See Also

Reference

XPath Node-Set Functions