diff options
Diffstat (limited to 'doc/src/snippets/patternist/forClause2.xq')
-rw-r--r-- | doc/src/snippets/patternist/forClause2.xq | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/snippets/patternist/forClause2.xq b/doc/src/snippets/patternist/forClause2.xq new file mode 100644 index 0000000..4fa505d --- /dev/null +++ b/doc/src/snippets/patternist/forClause2.xq @@ -0,0 +1,3 @@ +for $i in(reverse(1 to 10)), + $d in xs:integer(doc("numbers.xml")/numbers/number) +return $i + $d |