Hi Christian,
I guess declaring variables is done using service.setProperty("name", "somevalue").
Does the XPathService interface also allow to import modules ?
Robby
-----Original Message----- From: Christian Grün [mailto:christian.gruen@gmail.com] Sent: Monday, July 04, 2011 1:30 PM To: Robby Pelssers Cc: basex-talk@mailman.uni-konstanz.de Subject: Re: [basex-talk] API does not contain XQueryService interface
Dear Robby,
the XQueryService class has not been defined in the official specification. Instead, we have extended the XPathQueryService class to support XQuery (I assume that this works with the others implementations as well):
https://github.com/BaseXdb/basex-api/blob/master/src/main/java/org/basex/api...
Hope this helps, Christian ___________________________
On Mon, Jul 4, 2011 at 1:22 PM, Robby Pelssers Robby.Pelssers@nxp.com wrote:
Hi all,
I was trying to test some code I wrote for Sedna XML DB but I noticed that org.xmldb.api.modules.XQueryService is not part of the API.
I checked EXIST and Sedna and both include this Service. Is there any particular reason why this not included by BaseX?
Kind regards, Robby Pelssers