Binding external variable in GUI
Monday, 15 February 2016 · 3 messages
B
buddyonweb-software15 Feb 2016 16:52 #
At the risk of a) sounding like a real newbie b) being accused of not Googling for an answer (which I did - but apparently overlooked) I am wondering how I can bind an external variable using just XQuery syntax in the BaseX GUI. I have found how to set the variable via command line options, and how to do it in Java, but I merelywanted to run a quick interactive test in the GUI to test an idea of mine (before writing a bunch of Java code).What I have done is in a tab in the GUI, I have included the module, and before running a function, want to set that external variable. Surprisingly I found myself at a loss on how to do what appears to be a simple task. So, thanks in advance for any help....and for the rest of this community for not laughing at me too loudly Buddy
CG
Christian Grün15 Feb 2016 18:04 #
Quoted text · buddyonweb-software · 4 lines
> At the risk of a) sounding like a real newbie b) being accused of not > Googling for an answer (which I did - but apparently overlooked) > I am wondering how I can bind an external variable using just XQuery syntax > in the BaseX GUI.
Just press the icon showing "$x".
Quoted text · buddyonweb-software · 15 lines
> > I have found how to set the variable via command line options, and how to do > it in Java, but I merely > wanted to run a quick interactive test in the GUI to test an idea of mine > (before writing a bunch of Java code). > What I have done is in a tab in the GUI, I have included the module, and > before running a function, want to set that external variable. > Surprisingly I found myself at a loss on how to do what appears to be a > simple task. > > So, thanks in advance for any help....and for the rest of this community for > not laughing at me too loudly > > Buddy >
EF
Hi Buddy,
Did you try the $x button between the run query and run tests ones ?
Best regards,
Fabrice
Quoted text · buddyonweb-software at yahoo.com · 12 lines
De : basex-talk-bounces at mailman.uni-konstanz.de [mailto:basex-talk-bounces at mailman.uni-konstanz.de] De la part de buddyonweb-software at yahoo.com Envoyé : lundi 15 février 2016 16:53 À : BaseX <basex-talk at mailman.uni-konstanz.de> Objet : [basex-talk] Binding external variable in GUI At the risk of a) sounding like a real newbie b) being accused of not Googling for an answer (which I did - but apparently overlooked) I am wondering how I can bind an external variable using just XQuery syntax in the BaseX GUI. I have found how to set the variable via command line options, and how to do it in Java, but I merely wanted to run a quick interactive test in the GUI to test an idea of mine (before writing a bunch of Java code). What I have done is in a tab in the GUI, I have included the module, and before running a function, want to set that external variable. Surprisingly I found myself at a loss on how to do what appears to be a simple task. So, thanks in advance for any help....and for the rest of this community for not laughing at me too loudly Buddy
Written for BaseX 8.4. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery