[basex-talk] Parameter to xquery

2014-01-30 Thread Lars Johnsen
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

Re: [basex-talk] Parameter to xquery

2014-01-30 Thread Fabrice Etanchaud
: BaseX Objet : [basex-talk] Parameter to xquery 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