Re: [basex-talk] BaseX request from Saxon XSL transformation

2015-11-18 Thread Imsieke, Gerrit, le-tex
A more convenient way (at least for Java amateurs like myself) might be to set up a RESTXQ service in BaseX and to query it using plain fn:doc(''). At least this works for GET requests. If you need to post something, you’ll probably need the EXPath HTTP client library [1] that doesn’t ship with Sax

Re: [basex-talk] BaseX request from Saxon XSL transformation

2015-11-18 Thread cmarchand
Thanks, I was reading the same articles... It was just to check if something already exists... Best regards, Christophe Le 2015-11-18 11:35, Dirk Kirsten a écrit : > Hello Christophe, > > I've never done this, but I'd say that extension functions are the way to go. > If I read the saxo

Re: [basex-talk] BaseX request from Saxon XSL transformation

2015-11-18 Thread Dirk Kirsten
Hello Christophe, I've never done this, but I'd say that extension functions are the way to go. If I read the saxon documentation correctly (http://www.saxonica.com/html/documentation/extensibility/functions/), you can use it to call Java functions from within XSLT. As BaseX is written in Java you