[Htmlparser-developer] Return all table rows
Brought to you by:
derrickoswald
From: S A. <sah...@gm...> - 2010-04-13 03:55:40
|
Hi, Sending my question here, the user mailing list seems to be filled with spam? I have a HTML page, and part of the page that I want to focus on looks like: <table> <tr><td class="prod">.... </tr> <tr><td class="prod">.... </tr> <tr><td class="prod">.... </tr> <tr><td class="prod">.... </tr> </tabe> So I want to extract all the <tr>. I have used tmlParser.extractAllNodesThatMatch(...) in the past, but in this case it seems the only way to get a NodeList of all the <tr> groupings in this table is to use the value from the 1st <td> in each <tr> that has a class of 'Prod". (class="prod" is unique to the entire HTML page). Is this possible to do? |