position

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

Syntax

position()

Return value

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

Description

Specifications

XPath 1.0 4.1

Gecko support

Supported.