I’ve just downloaded 7.6 and am trying to perform a query using the command line basex utility,

It does not seem to work.  I can execute the following using the GUI, but not from the utility,

 

1.    Any ideas? Is this a limitation or a bug? I have not looked through the source code yet.

 

2.    Is there any way to insert comments in the command file that is passed on basex –c filename.xq ?

 

3.    Am I supposed to be able to split the for loop onto multiple lines? It does not appear so.

 

 

Thanks,

Jonathan

 

 

Open factbook

for $x in /mondial/country where $x/languages="English"  return $x/religions