Thanks Dirk for the pointer.
Any idea where to put the .xqm and .xsl files? I'm using them in the query.
Can I simply put them in the HTTPPATH dir as well?
Thanks, Anupam
________________________________ From: Anupam Bakshi bakshia@yahoo.com To: "basex-talk@mailman.uni-konstanz.de" basex-talk@mailman.uni-konstanz.de Sent: Sunday, June 17, 2012 1:08 PM Subject: REST service : How to run server side query with params?
Hello, I understand that one way to run a rest based XQuery with parameters is to use the following ... http://localhost:8984/rest/DB/mult.xq?a=21&b=2
This is possible if the query is in the BaseX database.
I need to use REST, but the query file (.xq) and .xqm, .xsl files need to be located on the server but not in the database.
Can someone give me a pointer about how to do that?
Thanks, Anupam