Is it possible to pass parameters to xquery modules using BaseX scripting language? I tried something similar to to http-specification but had no luck.
For example, if the code below is stored as add.xq, could $x and $y be supplied in a RUN add.xq command?
declare variable $x external;
declare variable $y external;
let $res := $x + $y
return $res
All the best
Lars G Johnsen
National Library of Norway