perl-XML-LibXML / LibXML.pm

Diff from to

LibXML.pm

 use vars qw($VERSION @ISA @EXPORT);
 use Carp;
 
-$VERSION = "0.95";
+$VERSION = "0.96";
 require Exporter;
 require DynaLoader;
 
 
   my $doc = $parser->parse_file($filename);
 
+=head1 PARSING HTML
+
+As of version 0.96, XML::LibXML is capable of parsing HTML into a regular
+XML DOM. This gives you the full power of XML::LibXML on HTML documents.
+
+The methods work in exactly the same way as the methods above, and return
+exactly the same type of object. If you wish to dump the resulting document
+as HTML again, you can use C<$doc->toStringHTML()> to do that.
+
+=head2 parse_html_string
+
+  my $doc = $parser->parse_html_string($string);
+
+=head2 parse_html_fh
+
+  my $doc = $parser->parse_html_fh($fh);
+
+=head2 parse_html_file
+
+  my $doc = $parser->parse_html_file($filename);
+
 =head1 XML::LibXML::Document
 
 The objects returned above have a few methods available to them:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.