I'm looking to port a small perl script to PHP. The Perl version makes use of the HTML::TreeBuilder package. Does anyone know of an equivalent available for PHP?
I doubt that the HTML to be parsed will conform with XML standards so I don't think I can use the XML parser.
Thanks in advance.