I'm new to XQUERY so perhaps I misunderstand how to do what I want. I'm
trying to pass an external value to a variable in the query. I declared the
variable as external at the top. Like this:
declare variable $inputstud as xs:string* external;
My understanding is that I now execute the program like this
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. 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.
Thanks
Randy
--
Dr. Randall Reed
Assistant Professor, Dept. of Philosophy and Religion
Appalachian State University