Hi Randy,
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.
What's the problem here?
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.
Yes, that's possible: you can type "set bindings" command in the input field, as shown in the screenshot. Commas can be used as delimiters if several variables are to be assigned.
Hope this helps, Christian