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