View Single Post
Old 10-13-2010, 10:53 PM   #1
TonytheBookworm
Addict
TonytheBookworm is on a distinguished road
 
TonytheBookworm's Avatar
 
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
Puzzled and need a little kick start

If I have something like this. Ignore the actual html formatting. It is used to give you a general idea of what I want to do.
Code:
<table class ='i hate tables'>
  <td align = 'left'>
      <a href='some link blah.com/blah.html></a>
  <td align = 'left'>
      <a href='some other link that i actually want to use> </a>
</table>
How would I get the second element inside the table?
Would i do a for item findAll on the table class ='i hate tables' ? then do a item.next.next ? I'm confused. Because the link I wish to parse is the second element of the table.

thanks.
TonytheBookworm is offline   Reply With Quote