~gaox/zorba-io-module/trunk

« back to all changes in this revision

Viewing changes to test/Queries/iomod_readchar.xq

  • Committer: Xiang Gao
  • Date: 2012-09-26 13:50:10 UTC
  • Revision ID: gaox@ethz.ch-20120926135010-vs2yeh6zem4z9vp8
update signature for read functions 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import module namespace iomod = "http://www.zorba-xquery.com/modules/io-module";
2
 
import module namespace fetch = "http://www.zorba-xquery.com/modules/fetch";
3
 
 
4
 
variable $input := fetch:content(fn:resolve-uri("iomod_readchars.txt"));
5
 
 
6
 
iomod:read-char($input)
7