XML::ValidateAn XML validator factory | |
Download |
XML::Validate Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- BBC
- Publisher web site:
- http://www.bbc.co.uk
XML::Validate Tags
XML::Validate Description
An XML validator factory XML::Validate is a Perl interface to different XML validation backends. For a list of backend included with this distribution see the README.If you want to write your own backends, the easiest way is probably to subclass XML::Validate::Base. Look at the existing backends for examples.SYNOPSIS my $validator = new XML::Validate(Type => 'LibXML'); if ($validator->validate($xml)) { print "Document is valid "; } else { print "Document is invalid "; my $message = $validator->last_error()->{message}; my $line = $validator->last_error()->{line}; my $column = $validator->last_error()->{column}; print "Error: $message at line $line, column $column "; } Requirements: · Perl
XML::Validate Related Software