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

On Thu, Jan 27, 2011 at 4:08 PM, Christian Grün <christian.gruen@gmail.com> wrote:
> Since the queries to a collection over REST typically result in XML being
> returned, is there a way to turn off the wrapping of results in
> jax-rx:results and jax-rx;result elements?

No problem; try "wrap=no". More info at:

 http://docs.basex.org/wiki/REST

C.