Tag Archives: XML

Format and Indent XML in Ubuntu Linux

While playing with Castor, I used one of their tools to generate an XML file. The problem is that the XML file was one line. It was pretty hard to read with the text wrapping. Here’s how to turn ugly.xml into pretty.xml in Ubuntu Linux Install tidy: sudo apt-get install tidy Parse the ugly xml […]

Posted in XML | Also tagged , | 2 Comments