Re: [basex-talk] Decoupling custom code with restxq

2013-12-02 Thread Christian Grün
Hi Sebastian,

 BTW: I unfortunately missed your and Alexanders presentation at the MarkUp
 Forum: are there any slides available?

The slides should soon be available here: http://www.markupforum.de/archiv.html

 This is similar to imported modules in XSLT: If you import template rules,
 which are more specific,
 they will be applied first. Could this be applied to XQuery as well? (But in
 XSLT you would have to
 import the custom code and hence change your code. We can do that in XQuery
 as well, but it
 is not completely decoupled, is it?)

As Jean-Marc pointed out, the Inspection Module may help out. The
module is fairly new, so we are interested in your (and everyone’s)
feedback if you would like to have some functions added..

Christian
___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk


Re: [basex-talk] Decoupling custom code with restxq

2013-11-30 Thread Christian Grün
Hi Sebastian,

thanks for your e-mail; I’m pleased to see you are still working with BaseX.

 So just by dropping a file like „custom.xqm in the restxq path, we can
 customize the system.

…sounds like a nice idea.

 The drawback is that we can only use this for HTTPS requests from the
 client, but not from the server, because we use HTTPS. So we cannot use
 RESTXQ requests server side with http:send-request. (Or do we?)

I guess I have no answer to that, as I haven’t actually come across
this challenge yet. This might be completely off the track, but maybe
it’s also a question of how Jetty is configured? Did you already check
out the jetty.xml file and possible settings?

Christian
___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk