"be consistent" | |
PerlMonks |
Re: HTML::Tree(Builder) in 6 minutesby Anonymous Monk |
on Nov 30, 2004 at 19:16 UTC ( [id://411251]=note: print w/replies, xml ) | Need Help?? |
XML::LibXML is very fast, but it can barely parse 1% of the web pages one can find on the Internet because it expects too strict HTML. That's why your 8-lines Perl program at the end of your column doesn't work.
Tree::Builder is very slow and does not provide DOM nor XPath. I think that there is nothing in Perl that can parse real web pages while beeing fast and giving access to DOM or XPath.
fred
In Section
Meditations
|
|