~juan457/+junk/zorba

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/jsoniq/collection-and-index/foaf-index-general-point.xq

  • Committer: Markos Zaharioudakis
  • Date: 2012-07-11 15:38:39 UTC
  • mfrom: (10924 zorba)
  • mto: This revision was merged to the branch mainline in revision 10932.
  • Revision ID: markos_za@yahoo.com-20120711153839-0mkh15cg2ubknchd
work in progress

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
import module namespace foaf = "http://www.w3.org/TestModules/foaf" at
 
3
                                   "foaf_module-with-index.xqlib";
 
4
 
 
5
import module namespace ddl = "http://www.zorba-xquery.com/modules/store/static/collections/ddl";
 
6
import module namespace dml = "http://www.zorba-xquery.com/modules/store/static/collections/dml";
 
7
import module namespace index_ddl = "http://www.zorba-xquery.com/modules/store/static/indexes/ddl";
 
8
import module namespace index_dml = "http://www.zorba-xquery.com/modules/store/static/indexes/dml";
 
9
 
 
10
declare namespace err = "http://www.w3.org/2005/xqt-errors";
 
11
 
 
12
foaf:create-db();
 
13
 
 
14
for $x in foaf:probe-point-general-id($foaf:friends, ("Jean-Luc Picard", "James T. Kirk", "Q"))
 
15
order by $x("name")
 
16
return $x