~nbrinza/zorba/parse-fragment

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/index/match_veq_01.xqlib

  • Committer: nbrinza at gmail
  • Date: 2013-04-09 14:34:55 UTC
  • mfrom: (10477.1.877 zorba)
  • Revision ID: nbrinza@gmail.com-20130409143455-wofxpaysvqjci57p
Merged with Zorba trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 
 
3
module namespace accounts = "www.accounts.com";
 
4
 
 
5
import module namespace ddl = 
 
6
"http://www.zorba-xquery.com/modules/store/static/collections/ddl";
 
7
 
 
8
import module namespace dml = 
 
9
"http://www.zorba-xquery.com/modules/store/static/collections/dml";
 
10
 
 
11
import module namespace iddl = 
 
12
"http://www.zorba-xquery.com/modules/store/static/indexes/ddl";
 
13
 
 
14
declare namespace an = "http://www.zorba-xquery.com/annotations";
 
15
 
 
16
 
 
17
declare %an:ordered collection accounts:accounts as element(account);
 
18
 
 
19
 
 
20
declare %an:automatic %an:unique %an:value-equality index accounts:accounts-index
 
21
on nodes dml:collection(xs:QName('accounts:accounts'))
 
22
by xs:string(@email) as xs:string?;
 
23