Maybe that one helps http://stackoverflow.com/questions/1384802/java-how-to-indent-xml-genera ted-by-transformer
Josef - there is a lot more in Google, also if you feed your stream into a file.xml and pass that file.xml to an InternetExplorer IE will format itself for display purpose. Von: Flavio Palumbo [mailto:flavio.palumb...@gmail.com] Gesendet: Mittwoch, 11. Juli 2012 15:01 An: java-user@axis.apache.org Betreff: How to get a formatted OMElement content Hi all, how can I get a formatted XML from an OMElement ? For now I use the toString method but I get XML in one row, while Iwould like to have it with line breaks. Any hint would be appreciated. Flavio