in reply to Re^2: Parsing badly formed HTML
in thread Parsing badly formed HTML

Let's see... you want to use XPath with HTML::TreeBuilder? How about HTML::TreeBuilder::XPath then? ;--) (OK, I'll admit it was easy for me to know about it)

Replies are listed 'Best First'.
Re^4: Parsing badly formed HTML
by SilasTheMonk (Chaplain) on Oct 07, 2008 at 19:10 UTC
    I have parsed the pages now so I am happy. However I would NOT want to use that approach again so I really appreciate all the advice. HTML::TreeBuilder::XPath looks like the way to go.

    Edit: 27-1-2009 I need to write a similar script and this time I will have to deal with nested tables. Sounds like this module is going to be essential.