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_05.adm"; | ||||
6 | |||||
7 | for $l in subset-collection(['a', 'b', 'c', 'd'], 1, 2) | ||||
8 | return $l | ||||
9 | /* | ||||
10 | output: | ||||
11 | "b" | ||||
12 | "c" | ||||
13 | */ |