in reply to Re: XML::Simple problem, or How to convert HTML to Perl and then back again.
in thread XML::Simple problem, or How to convert HTML to Perl and then back again.
to do it in HTML::TreeBuildermy $tree = HTML::TreeBuilder->new(); $tree->ignore_unknown(0); # so it doesn't skip unknown $tree->xml_mode(1); # so it will catch <br /> tags i +f you like XHTML $tree->parse_file($file});
|
---|