Brilliant, thanks. However, I also want to change the returned type to application/xml or text/xml and the parameter named output as documented does not appear to be supported in ver 6.5 on the maven repo
> Since the queries to a collection over REST typically result in XML beingNo problem; try "wrap=no". More info at:
> returned, is there a way to turn off the wrapping of results in
> jax-rx:results and jax-rx;result elements?
http://docs.basex.org/wiki/REST
C.