Monday, 24 September 2012

To skip last element in loop

run loop as:

For $x at $pos in <elements>[[1 to last()-1]]
return $x

No comments:

Post a Comment