setting multiple bindings in the GUI
Thursday, 13 December 2012 · 5 messages · last reply 16 Dec 2012
RR
Randy reed13 Dec 2012 01:08 #
Hi All,
I've got three external variables that I want to test in the GUI. I put Set Bindings $dname="/home/randy/..." and that works fine, but when I try to do more I get a syntax error. I've tried separating the entries with ; or , or spaces but none of that seems to work. if I do the full command separated by ; (i.e. set bindings $dname=...; set bindings $inputf=....; set bindings $inputn=....) only the last one takes. Anyone had success doing this?
Thanks
Randy
--
Dr. Randall Reed
Assistant Professor, Dept. of Philosophy and Religion
Appalachian State University
CG
Christian Grün13 Dec 2012 03:14 #
Hi Randy,
commas should usually help you out. You may want to have a look at our documentation:
http://docs.basex.org/wiki/Options#BINDINGS
If this does not help, feel free to provide us with a full example.
Best,
Christian
Quoted text · Randy reed · 22 lines
Am 13.12.2012 00:08 schrieb "Randy reed" <randywreed at gmail.com>: > Hi All, > > I've got three external variables that I want to test in the GUI. I > put Set Bindings $dname="/home/randy/..." and that works fine, but > when I try to do more I get a syntax error. I've tried separating the > entries with ; or , or spaces but none of that seems to work. if I do > the full command separated by ; (i.e. set bindings $dname=...; set > bindings $inputf=....; set bindings $inputn=....) only the last one > takes. Anyone had success doing this? > Thanks > Randy > > -- > Dr. Randall Reed > Assistant Professor, Dept. of Philosophy and Religion > Appalachian State University > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
CG
It may help to get rid of all whitespaces (i.e., the spaces after the commas) in your bindings string.
Quoted text · Randy reed · 53 lines
On Sun, Dec 16, 2012 at 4:04 AM, Randy reed <randywreed at gmail.com> wrote: > I've not messed with this in a couple of days but I've tried it again > under 7.5 after reading the documentation. I don't think I'm doing > anything wrong but i've attached a screen shot to be sure. As you can > see the variable are separated by commas, but for some reason I get a > syntax error. > > Thanks > Randy > > On Wed, Dec 12, 2012 at 9:14 PM, Christian Grün > <christian.gruen at gmail.com> wrote: >> Hi Randy, >> >> commas should usually help you out. You may want to have a look at our >> documentation: >> >> http://docs.basex.org/wiki/Options#BINDINGS >> >> If this does not help, feel free to provide us with a full example. >> >> Best, >> Christian >> >> Am 13.12.2012 00:08 schrieb "Randy reed" <randywreed at gmail.com>: >>> >>> Hi All, >>> >>> I've got three external variables that I want to test in the GUI. I >>> put Set Bindings $dname="/home/randy/..." and that works fine, but >>> when I try to do more I get a syntax error. I've tried separating the >>> entries with ; or , or spaces but none of that seems to work. if I do >>> the full command separated by ; (i.e. set bindings $dname=...; set >>> bindings $inputf=....; set bindings $inputn=....) only the last one >>> takes. Anyone had success doing this? >>> Thanks >>> Randy >>> >>> -- >>> Dr. Randall Reed >>> Assistant Professor, Dept. of Philosophy and Religion >>> Appalachian State University >>> _______________________________________________ >>> BaseX-Talk mailing list >>> BaseX-Talk at mailman.uni-konstanz.de >>> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > > > > -- > Dr. Randall Reed > Assistant Professor, Dept. of Philosophy and Religion > Appalachian State University
RR
I've not messed with this in a couple of days but I've tried it again under 7.5 after reading the documentation. I don't think I'm doing anything wrong but i've attached a screen shot to be sure. As you can see the variable are separated by commas, but for some reason I get a syntax error.
Thanks
Randy
Quoted text · Christian Grün · 36 lines
On Wed, Dec 12, 2012 at 9:14 PM, Christian Grün <christian.gruen at gmail.com> wrote: > Hi Randy, > > commas should usually help you out. You may want to have a look at our > documentation: > > http://docs.basex.org/wiki/Options#BINDINGS > > If this does not help, feel free to provide us with a full example. > > Best, > Christian > > Am 13.12.2012 00:08 schrieb "Randy reed" <randywreed at gmail.com>: >> >> Hi All, >> >> I've got three external variables that I want to test in the GUI. I >> put Set Bindings $dname="/home/randy/..." and that works fine, but >> when I try to do more I get a syntax error. I've tried separating the >> entries with ; or , or spaces but none of that seems to work. if I do >> the full command separated by ; (i.e. set bindings $dname=...; set >> bindings $inputf=....; set bindings $inputn=....) only the last one >> takes. Anyone had success doing this? >> Thanks >> Randy >> >> -- >> Dr. Randall Reed >> Assistant Professor, Dept. of Philosophy and Religion >> Appalachian State University >> _______________________________________________ >> BaseX-Talk mailing list >> BaseX-Talk at mailman.uni-konstanz.de >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
--
Dr. Randall Reed
Assistant Professor, Dept. of Philosophy and Religion
Appalachian State University
FA
Francis Avila16 Dec 2012 06:18 #
Remove the spaces between bindings. The command parser thinks you have a third "argument" to the 'set' command. e.g.:
$dbname="/my/path",$inputstudf="name"NOT:
$dbname="/my/path", $inputstudf="name"Note you can also omit the dollar signs.
--
Francis Avila
Quoted text · Randy reed · 54 lines
On Dec 15, 2012, at 9:04 PM, Randy reed <randywreed at gmail.com> wrote: > I've not messed with this in a couple of days but I've tried it again > under 7.5 after reading the documentation. I don't think I'm doing > anything wrong but i've attached a screen shot to be sure. As you can > see the variable are separated by commas, but for some reason I get a > syntax error. > > Thanks > Randy > > On Wed, Dec 12, 2012 at 9:14 PM, Christian Grün > <christian.gruen at gmail.com> wrote: >> Hi Randy, >> >> commas should usually help you out. You may want to have a look at our >> documentation: >> >> http://docs.basex.org/wiki/Options#BINDINGS >> >> If this does not help, feel free to provide us with a full example. >> >> Best, >> Christian >> >> Am 13.12.2012 00:08 schrieb "Randy reed" <randywreed at gmail.com>: >>> >>> Hi All, >>> >>> I've got three external variables that I want to test in the GUI. I >>> put Set Bindings $dname="/home/randy/..." and that works fine, but >>> when I try to do more I get a syntax error. I've tried separating the >>> entries with ; or , or spaces but none of that seems to work. if I do >>> the full command separated by ; (i.e. set bindings $dname=...; set >>> bindings $inputf=....; set bindings $inputn=....) only the last one >>> takes. Anyone had success doing this? >>> Thanks >>> Randy >>> >>> -- >>> Dr. Randall Reed >>> Assistant Professor, Dept. of Philosophy and Religion >>> Appalachian State University >>> _______________________________________________ >>> BaseX-Talk mailing list >>> BaseX-Talk at mailman.uni-konstanz.de >>> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > > > > -- > Dr. Randall Reed > Assistant Professor, Dept. of Philosophy and Religion > Appalachian State University > <Screenshot from 2012-12-15 21:59:27.png>
Written for BaseX 7.3. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery