XML::Tidy::Tiny - Tiny XML tidy
use XML::Tidy::Tiny; # or use XML::Tidy::Tiny qw(xml_tidy); print xml_tidy( $unformated_xml );
This module allow very restrictive tidy of xml. And don't check validity of xml inputed.
XML::Tidy
A. G. Grishayev, <grian@cpan.org>
Copyright (C) 2011 by A. G. Grishayev
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install XML::Tidy::Tiny, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Tidy::Tiny
CPAN shell
perl -MCPAN -e shell install XML::Tidy::Tiny
For more information on module installation, please visit the detailed CPAN module installation guide.