Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Test::XML::Valid(3)   User Contributed Perl Documentation  Test::XML::Valid(3)

NAME
	   Test::XML::Valid - Validate XML and XHTML

SYNOPSIS
	 use Test::XML::Valid;

	 xml_file_ok($xmlfilename);
	 xml_string_ok($xml_string);

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

FUNCTIONS
   xml_file_ok(	$xmlfilename, $msg );
       Checks that $xmlfilename	validates. $msg	is optional.

   xml_string_ok( $xmlstring, $msg );
       Checks that $xml_string validates. $msg is optional.

AUTHOR
	   Mark	Stosberg <mark@summersault.com>

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

SEE ALSO
       perl(1).

perl v5.24.1			  2017-07-03		   Test::XML::Valid(3)

NAME | SYNOPSIS | DESCRIPTION | FUNCTIONS | AUTHOR | COPYRIGHT | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Test::XML::Valid&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help