in reply to HTML tidy, using XML::LibXML
XML::LibXML can also parse SGML. Most people don't know that (probably sucky docs ;-)my $parser = XML::LibXML->new(); $parser->recover(1); # Set recovery on error flag $parser->parse_html_string(join "", <>)->toStringHTML;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: HTML tidy, using XML::LibXML
by Your Mother (Archbishop) on Sep 01, 2007 at 05:43 UTC |