abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: pretty print response request/response
Date Mon, 10 Sep 2007 21:18:28 GMT
There is a Pretty Print Writer implementation available but it's
intended more for diagnostic purposes than for any real use.  It
probably would not take much to make it suitable for production use.

abdera.getWriterFactory()
  .getWriter("prettyxml")
  .writeTo(feed, System.out);

- James

Dan Diephouse wrote:
> Another question today: Is there an easy way to pretty print the xml
> request/response with proper xml formatting? I don't see any
> capabilities to do this in Abdera or Axiom which seems odd. I'm guessing
> I'm overlooking it.
> 
> - Dan
> 

Mime
View raw message