The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::Webrobot::Html2XHtml - convert HTML to XML

SYNOPSIS

 use WWW::Webrobot::Html2XHtml;
 my $converter = WWW::Webrobot::Html2XHtml -> new();
 $converter->to_xhtml($dirty_html, $encoding);

DESCRIPTION

METHODS

new

Constructor

to_xhtml($dirty_html, $encoding)

Convert $dirty_html to XML. $dirty_html is a sequence of octets and is assumend to be coded in $encoding.