vinayakb | 38b7ca4 | 2012-03-05 05:44:15 +0000 | [diff] [blame] | 1 | drop dataverse test if exists; |
2 | create dataverse test; | ||||
3 | use dataverse test; | ||||
4 | |||||
5 | write output to nc1:"rttest/subset-collection_02.adm"; | ||||
6 | |||||
7 | for $l in subset-collection([1, 2, 3, 4], 1, 2) | ||||
8 | return $l | ||||
9 | /* | ||||
10 | output: | ||||
11 | 2 | ||||
12 | 3 | ||||
13 | */ |