It looks like you're new here. If you want to get involved, click one of these buttons!
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.
This page describes it with few variations.