code: @Override
  	public void preparePaint(final Request request) {
  		Headers headers = this.getUI().getHeaders();
  		headers.reset();
  
  		headers.setContentType(WebUtilities.CONTENT_TYPE_XML);
  
  		super.preparePaint(request);
  	}
docs: Override preparePaint in order to prepare the headers.
  
  @param request the request being responded to.