To make the XML output a little more readable simply use: $ jpylyzer input.jpf | xmllint --format - -- Mathieu Malaterre Wed, 02 May 2012 21:26:39 +0200