I'm trying to pass a parameter to an xquery file whose first line reads: define variable $db as xs:string external
How may I invoke the BaseX client so that the param will be passed to the query?
Just saw in the 6.5 change log "[ADD] JAX-RX: bind external variables to query and run parameter". Does that mean that passing param is currently only available in the JAX-RX interface?
Maybe you can parse the command line client invocation such that everything after the options and after a xquery file name is considered as param=value pairs?
-Gerrit