anchor.diff:  	</dependency>
   ----
   
  -==== JAXB
  -If Jackson's XML extension is not available, JAXB is tried next,
  -with the additional requirement of having `MyThing` annotated as
  -`@XmlRootElement`, as shown in the following example:
  +If Jackson's XML extension is not available and JAXB is available, XML can be rendered
  +with the additional requirement of having `MyThing` annotated as `@XmlRootElement`, as
  +shown in the following example:
   
   [source,java,indent=0,subs="verbatim,quotes,attributes"]
   ----
  
positive.code: 
  [[howto-write-an-xml-rest-service]]
  === Write an XML REST Service
  If you have the Jackson XML extension (`jackson-dataformat-xml`) or JAXB on the classpath, you
  can use it to render XML responses. The previous example that we used for JSON would
  work.
  
  NOTE: To get the server to render XML instead of JSON, you might have to send an
  `Accept: text/xml` header (or use a browser).
  
  ==== Jackson XML
  To use the Jackson XML renderer, add the following dependency to your project:
  
  [source,xml,indent=0,subs="verbatim,quotes,attributes"]
  ----
  
negative.code: 		<artifactId>jaxb-runtime</artifactId>
  	</dependency>
  ----
  
  NOTE: To get the server to render XML instead of JSON, you might have to send an
  `Accept: text/xml` header (or use a browser).
  
  
  
  [[howto-customize-the-jackson-objectmapper]]
  