title: Using XPath: find link in cell 3 rows up
body: <p>I have multiple rows in a table, in one of which is a link I'd like to automatically click. For my starting point I have the last instance that a row contains the text "Test Question?":</p>
  
  <p></p>
  
  <p>
    
    ID:
    1416
    
   </p>
  
  <p></p>
  
  <p>Edit/Approve
    Ignore
    Email
    Name:
    Submitter Name</p>
  
  <p>Open
    N/A
   
   
    
    Location:
    Submitter Location</p>
  
  <p>
   
   
    
    Member:
    No
    
   </p>
  
  <p>
    
    Question Text:
    Test Question?
   
   
    
    Response 1 Text:</p>
  
  <p>
    
   
   
    
    Response 2 Text:
    
    </p>
  
  <p>
   </p>
  
  <p>
    
    ID:
    1417
    
   </p>
  
  <p></p>
  
  <p>Edit/Approve
    Ignore
    Email
    Name:
    Submitter Name</p>
  
  <p>Open
    N/A
   
   
    
    Location:
    Submitter Location</p>
  
  <p>
   
   
    
    Member:
    No
    
   </p>
  
  <p>
    
    Question Text:
    Test Question?
   
   
    
    Response 1 Text:</p>
  
  <p>
    
   
   
    
    Response 2 Text:
    
    
   </p>
  
  <p></p>
  
  <p>So, //tr[td='Test Question?'][last()] would be something like "Question Text:   Test Question?"</p>
  
  <p>Anyway, three rows up from that there's a row with a bunch of links in it. I would like the xpath to the link in the first cell.</p>
  
  <p>Now I tried to use position(), but stuff like //tr[position()=(//tr[td='Test Question?'][last()][position()])-3] just isn't the right way to do it and I can't find any good examples.</p>
  
  <p>Thanx</p>
  
  <p>Dave</p>