Stored procedures (XRPC) support
I am currently working on a research project on native XML databases and I am trying some stuff on BaseX and I must complement on the nice GUI supplied with the database. After testing some stuff I now have a question: is there support for stored procedures in some sort for BaseX? I would like to query the database using a XQuery which is stores in the database and can be called using some parameters. Thanks. Regards, Harmen Wessels.
Dear Harmen, thanks for your feedback. Currently, Stored Procedures are not supported by BaseX. You could try, however, to define XQuery modules and store them on a remote server. Feel free to run this small example: (: Imports a remotely stored query module and runs a function :) import module namespace test = "http://basex.org/modules" at "http://www.inf.uni-konstanz.de/dbis/basex/dl/test.xqm"; test:fib(10) 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 On Wed, Feb 24, 2010 at 8:50 AM, Harmen Wessels <harmenwessels@gmail.com> wrote:
I am currently working on a research project on native XML databases and I am trying some stuff on BaseX and I must complement on the nice GUI supplied with the database.
After testing some stuff I now have a question: is there support for stored procedures in some sort for BaseX? I would like to query the database using a XQuery which is stores in the database and can be called using some parameters.
Thanks.
Regards, Harmen Wessels. _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
participants (2)
-
Christian Grün -
Harmen Wessels