Christian,
Thanks for that, it worked great. Though for some reason the command line still isn't working even though it does through the GUI. But another related question, If I want to set more than one variable how do I do it? separating set bindings commands with a ; seem only to invoke the last one, not the first
Thanks in advance
Randy
Hi Randy,
What's the problem here?
> java -cp basex-6.8-SNAPSHOT.jar org.basex.BaseX
> ~/MyDocuments/Dropbox/student_ind_detail.xq -binputstud=900426517
>
> then in the where of my query I do
> where $u/ID eq $x/USERID and $u/IDNUMBER eq $inputstud
>
> Unfortunately, for some reason this doesn't work.
Yes, that's possible: you can type "set bindings" command in the input
> I'd like to try this in
> the gui of basex to see if I can figure out what has gone wrong, but I can't
> figure out how to pipe external variable to the Gui, is there a way.
field, as shown in the screenshot. Commas can be used as delimiters if
several variables are to be assigned.
Hope this helps,
Christian