title: Jsoup get element text based on Parent structure
body: <p>Long story short; I'm working a website made circa 1995, so it's all tables; tables without ID's or Class names, they are everywhere.</p>
  
  <p>I need to get some text from a particular cell, and after a bit of playing about with <code>JQuery</code>, I've managed to build the element hierarchy of it's <code>Parents()</code>, and I'm wondering now if I can extract the text from the table cell using <code>JSoup</code> based on this information.</p>
  
  <p>For example, I want some text from a <code>&lt;td&gt;</code> which has these parents:</p>
  
  <pre><code>Parent[0]: [object HTMLTableCellElement] //Actually cell containing text
  Parent[1]: [object HTMLTableRowElement] //Row of that cell
  Parent[2]: [object HTMLTableSectionElement] //etc..
  Parent[3]: [object HTMLTableElement]
  Parent[4]: [object HTMLTableCellElement]
  Parent[5]: [object HTMLTableRowElement]
  Parent[6]: [object HTMLTableSectionElement]
  Parent[7]: [object HTMLTableElement]
  Parent[8]: [object HTMLDivElement]
  Parent[9]: [object HTMLBodyElement]
  Parent[10]: [object HTMLHtmlElement]
  </code></pre>
  
  <p>There are about 200 pages structured like this, so I'm hoping to use <code>JSoup</code> to extract the text out without too much manual work.</p>
  
  <p>Any input or advice would be greatly appreciated.</p>
  
  <p>Thanks</p>