HTML::HTML5::Parser

Parse HTML reliably
Download

HTML::HTML5::Parser Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Toby Inkster
  • Publisher web site:
  • http://search.cpan.org/~tobyink/

HTML::HTML5::Parser Tags


HTML::HTML5::Parser Description

HTML::HTML5::Parser is a Perl module, substantially the same as the non-CPAN module Whatpm::HTML. Changes include:- Provides an XML::LibXML-like DOM interface. If you usually use XML::LibXML's DOM parser, this should be a drop-in solution for tag soup HTML.- Constructs an XML::LibXML::Document as the result of parsing.- Via bundling and modifications, removed external dependencies on non-CPAN packages.SYNOPSIS use HTML::HTML5::Parser; my $parser = HTML::HTML5::Parser->new; my $doc = $parser->parse_string(Foo< /title > < p >< b >< i >Foo< /b > bar< /i >. < p >Baz< /br >Quux. EOT my $fdoc = $parser->parse_file( $html_file_name ); my $fhdoc = $parser->parse_fh( $html_file_handle );Product's homepage


HTML::HTML5::Parser Related Software