~zorba-coders/zorba/bug1024580

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/reflection/client.xqlib

  • Committer: Rodolfo Ochoa
  • Date: 2012-09-08 16:36:08 UTC
  • mfrom: (10937.1.51 zorba)
  • Revision ID: rodolfo.ochoa@gmail.com-20120908163608-mz55ayoa8lznh7i3
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
module namespace client = "http://pilman.ch/ns/blubb";
2
2
 
3
3
declare variable $client:public as xs:string := "public";
 
4
 
4
5
declare %private variable $client:oauth-token1 as xs:string := "private token1";
 
6
 
5
7
declare %private variable $client:oauth-token2 as xs:string := "private token2"; 
6
8
 
 
9
 
7
10
declare function client:public()
8
11
{
9
 
 $client:public
 
12
  $client:public
10
13
};
11
14
 
 
15
 
12
16
declare function client:tweets1()
13
17
{
14
 
 $client:oauth-token1
 
18
  $client:oauth-token1
15
19
};
16
20
 
 
21
 
17
22
declare function client:tweets2()
18
23
{
19
 
 $client:oauth-token2
 
24
  $client:oauth-token2
20
25
};