On Mon, Jul 12, 2010 at 11:16 AM, Christian Grün christian.gruen@gmail.com wrote:
Andy,
thanks for your generous offer! Yes, your contributions to our code base would be more than welcome. XSLTs are a frequently requested feature, so we'd be happy to have it included in BaseX. As we haven't put too many thoughts on how to best include it, I'm open to your ideas and comments from other users.
Regarding our REST/JAX-RX API, this might be a good place to start with. Documentation on JAX-RX is still in progress, so I'll point you to the Sourceforge link and SVN Repository:
– Sourceforge: http://jax-rx.sourceforge.net/ – Repository: https://svn.uni-konstanz.de/public/jax-rx/
We've indeed allowed for an "xsl" query parameter in the JAX-RX…
https://svn.uni-konstanz.de/public/jax-rx/trunk/jax-rx/src/main/java/org/jax...
…which isn't supported in BaseX.
Another (or the next) approach could be to add XSLT as a database command, which could be called by REST.
That's food for thought. It'll be a while before I can get something together (my Java is a little rusty) but I'll keep you informed.
The addition to the lisp binding shouldn't take long.
Cheers, Andy