
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).