title: XPath - Get row/cell with no specified child
body: <p>I have HTML like that:</p>
  <pre><code> &lt;tbody&gt;
      &lt;tr&gt;
      &lt;td class=&quot;LOCK&quot;&gt;
         &lt;img src=&quot;lock.img&quot; alt=&quot;Row locked&quot;&gt;
      &lt;/td&gt;
      &lt;td class=&quot;ID&quot;&gt;
      &lt;/td&gt;
      &lt;td class=&quot;LOCK&quot;&gt;
      &lt;/td&gt;
      &lt;td class=&quot;ID&quot;&gt;
      &lt;/td&gt;
  &lt;/tbody&gt;
  </code></pre>
  <p>I would like to create xpath which select for me first  which is unlocked.<br />
  Only locked ID has xpath <code>.//td/img.</code></p>
  <p>I created something like that:<br />
  <code>.//td[not(img)]/following-sibling::td[@class,'ID']</code><br />
  But it's not working...<br />
  I am able to find td via xpath <code>.//td[not(img)]</code>, but when I add condition for ID, then I see all td, no matters if is with <code>img</code> or not.<br />
  Maybe there is a simple solution which I could not find.<br />
  Please help me.</p>