Test::XML::Valid - Validate XML and XHTML
use Test::XML::Valid; xml_file_ok($xmlfilename); xml_string_ok($xml_string);
Tests for Valid XHTML (using XML::LibXML). If the XML is not valid, a message will be generated with specific details about where the parser failed.
Checks that $xmlfilename validates. $msg is optional.
Checks that $xml_string validates. $msg is optional.
Mark Stosberg <mark@summersault.com>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl(1).
To install Test::XML::Valid, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::XML::Valid
CPAN shell
perl -MCPAN -e shell install Test::XML::Valid
For more information on module installation, please visit the detailed CPAN module installation guide.