# xml-prettify # A pretty printer / indentation tool for generic XML. ## Installation ## There are no prerequisites other than GHC (>=6.10). 1. Using cabal-install $ cabal install xml-prettify 2. From source archive $ tar xzvf xml-prettify-0.0.1.tar.gz $ cd xml-prettify-0.0.1 $ ghc --make Setup.hs $ ./Setup configure $ ./Setup build $ ./Setup install ## Usage ## $ cat ugly.xml 6c36e3a3-xxxx=4e1c-ac5f-506e515f0491localhostmythtvxxxxxxxmythconverg0 $ xml-prettify ugly.xml 6c36e3a3-xxxx=4e1c-ac5f-506e515f0491 localhost mythtv xxxxxxx mythconverg 0 ## Contact ## For questions, comments and patches, email me at [dmr@davidrosenberg.me](mailto:dmr@davidrosenberg.me).