![]() |
![]()
| ![]() |
![]()
NAMETest::XML::Valid - Validate XML and XHTML SYNOPSISuse Test::XML::Valid; xml_file_ok($xmlfilename); xml_string_ok($xml_string); DESCRIPTIONTests 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. FUNCTIONSxml_file_ok( $xmlfilename, $msg );Checks that $xmlfilename validates. $msg is optional. xml_string_ok( $xmlstring, $msg );Checks that $xml_string validates. $msg is optional. AUTHORMark Stosberg <mark@summersault.com> COPYRIGHTThis 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. SEE ALSOperl(1).
|