title: How can I find an element with XPath using its parent?
body: <p>I need to get the "a" element inside a "td" element from a row in a table of several similar rows. The problem is I only have the name 'john'. How can I find john td -> get the parent "tr" -> and then get "a" in XPath?</p>
  
  <p>Code example:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;html&gt;
    &lt;table&gt;
      ...
      &lt;tr id='1'&gt;
        &lt;td name='john'&gt;
        &lt;/td&gt;
        &lt;td&gt;
          &lt;a id='clickable'/&gt;
        &lt;/td&gt;
        &lt;td&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
      ...
    &lt;/table&gt;
  &lt;/html&gt;
  </code></pre>