You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "Everett Toews (JIRA)" <ji...@apache.org> on 2013/09/06 18:14:51 UTC

[jira] [Commented] (ABDERA-5) Need a way to pretty print feeds

    [ https://issues.apache.org/jira/browse/ABDERA-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760314#comment-13760314 ] 

Everett Toews commented on ABDERA-5:
------------------------------------

To use this do

{code}
Writer writer = abdera.getWriterFactory().getWriter("prettyxml");
writer.writeTo(entry, System.out);
{code}
                
> Need a way to pretty print feeds
> --------------------------------
>
>                 Key: ABDERA-5
>                 URL: https://issues.apache.org/jira/browse/ABDERA-5
>             Project: Abdera
>          Issue Type: New Feature
>            Reporter: Garrett Rooney
>            Assignee: James M Snell
>            Priority: Minor
>
> When we serialize feeds back to XML the output is kinda hideous, since it all comes out as one really long line.
> It'd be great if there was some built in way to pretty print the output (like you get from the --format option to xmllint), but according to James there's no way to do that in Axiom.
> This issue is just a reminder so the idea doesn't fall off the radar.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira