Use Spring-Data-Rest to return response as XML instead of JSON
===

[Spring-data-rest][1] is currently RC1 (heading for GA July 16), but the documentation is still a little sketchy.  So far all the example code I find shows responses defaulting to JSON, but I need XML, and ideally either XML or JSON based on ACCEPT header.  I found one source in [some comments in a DZone link][2] that indicate XML is going to be supported.  But that was posted during the M2 release, before RC1.  I don't see anything in the Issues under the project either.

So does anybody know how to make either RC1 (or SNAPSHOT) produce XML instead of or in addition to JSON.


  [1]: http://www.springsource.org/spring-data/rest
  [2]: http://www.dzone.com/links/spring_data_rest_100m2_released.html