summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/patternist/forClause.xq
blob: a412dca47abd01732c453b5cc387e606f3a8daaf (plain)
1
2
3
for $i in(reverse(1 to 10)),
    $d in xs:integer(doc("numbers.xml")/numbers/number)
return ($i + $d)