~zorba-coders/zorba/image-module-head

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/xqxq/multiple-queries.xq

  • Committer: Zorba Build Bot
  • Author(s): chillery+launchpad at lambda
  • Date: 2012-10-26 15:13:54 UTC
  • mfrom: (11110.1.2 move-xqxq-core)
  • Revision ID: chillery+buildbot@lambda.nu-20121026151354-ojxq78uovjc6czno
Moved XQXQ into Zorba core. Approved: Juan Zacarias, Matthias Brantner, Chris Hillery

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import module namespace xqxq = 'http://www.zorba-xquery.com/modules/xqxq';
 
2
 
 
3
variable $query-key1 := xqxq:prepare-main-module("1+1");
 
4
variable $query-key2 := xqxq:prepare-main-module("1+2");
 
5
variable $a := xqxq:evaluate($query-key1);
 
6
variable $b := xqxq:evaluate($query-key2);
 
7
xqxq:delete-query($query-key1);
 
8
xqxq:delete-query($query-key2);
 
9
$a, $b