- All Implemented Interfaces:
- Function
public class Position
extends java.lang.Object
implements Function
The position function returns a number equal to the context position from the expression evaluation context.
e.g.
/child::doc/child::chapter[position()=5]/child::section[position()=2] selects the second section of the fifth chapter of the doc document element
- Since:
- 2018/2/28.
- Author:
- github.com/zhegexiaohuozi seimimaster@gmail.com