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
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@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@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
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@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@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@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
It may help to get rid of all whitespaces (i.e., the spaces after the commas) in your bindings string. ___________________________ On Sun, Dec 16, 2012 at 4:04 AM, Randy reed <randywreed@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@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@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@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
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 On Dec 15, 2012, at 9:04 PM, Randy reed <randywreed@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@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@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@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>
participants (3)
-
Christian Grün -
Francis Avila -
Randy reed