WWW::Webrobot::Html2XHtml - convert HTML to XML
use WWW::Webrobot::Html2XHtml; my $converter = WWW::Webrobot::Html2XHtml -> new(); $converter->to_xhtml($dirty_html, $encoding);
Constructor
Convert $dirty_html to XML. $dirty_html is a sequence of octets and is assumend to be coded in $encoding.
$dirty_html
$encoding
To install WWW::Webrobot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Webrobot
CPAN shell
perl -MCPAN -e shell install WWW::Webrobot
For more information on module installation, please visit the detailed CPAN module installation guide.