How to display XML data with nice formatting using Java?

I have an unformatted XML string in Java which needs to be formatted nicely with proper indents and breaks and then printed. Is it possible to do it.

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion