Set External Variable in BaseX API

Monday, 15 March 2010 · 2 messages
AG
Adrien Guillon15 Mar 2010 13:23 #

I switched from XQJ to the BaseX API...however I do not see how to set an external variable in a query. Could you point me to the documentation on how to do this?

Thanks!

CG
Christian Grün15 Mar 2010 22:53 #

Dear Adrien,

Quoted text · Adrien Guillon · 3 lines
> I switched from XQJ to the BaseX API...however I do not see how to set > an external variable in a query. Could you point me to the > documentation on how to do this?

I've added a small example to show how this is currently done:

http://basex.org/code?code=query/QueryBindExample

We might add some convenience methods to make this easier for developers.

Hope this helps, Christian ___________________________

Christian Gruen Universitaet Konstanz Department of Computer & Information Science D-78457 Konstanz, Germany Tel: +49 (0)7531/88-4449, Fax: +49 (0)7531/88-3577 http://www.inf.uni-konstanz.de/~gruen

Quoted text · Adrien Guillon · 8 lines
On Mon, Mar 15, 2010 at 12:24 PM, Adrien Guillon <aj.guillon at gmail.com> wrote: > > Thanks! > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >

⚡Generated with XQuery