xml-pretty1p
Pretty-print xml to stdout
Usage
xml-pretty INPUTFILE
cat {INPUTFILE | xml-pretty}
Overview
xml-pretty reads XML from an input file or STDIN, formats it using XML::LibXML::PrettyPrint using its default settings, and prints it to STDOUT.
Copyright and licence
This software is copyright (c) 2014 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Disclaimer of warranties
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.