Formatting XML file using StAX

Posted by Anurag on Stack Overflow See other posts from Stack Overflow or by Anurag
Published on 2010-06-01T11:09:46Z Indexed on 2010/06/01 11:13 UTC
Read the original article Hit count: 220

Filed under:
|
|

Hi,

I am using StAX XML stream writer to write the XML file. It writes all the data in a single line. I want all the tags to be indented instead of a single line.

© Stack Overflow or respective owner

Related posts about java

Related posts about Xml