[Xquery] How to make an increment of variable in a For loop
tien86Dec 11 2011 — edited Dec 12 2011Hello,
How can i build a simple increment for variable $a by Xquery such as ?
let $a := 0
for $i in (1 to 10)
let $a := $a + 1
return $a
why $a value in this loop always is '1'.
Thank you for reading, its will really helpful for my job if i can solve this problem.