title: How to click <a> tag in selenium
body: <p>Below is my code.Am pasting my entire  tag</p>
  
  <pre><code>&lt;TR id="oldcontent" bgcolor="#D0D0D0"&gt;
  &lt;TD  id="oldcontent"&gt;Foot-OM&lt;/TD&gt;
   &lt;a id="oldcontent" href="ID=22143"&gt;&lt;u&gt;Re-Submit&lt;/u&gt;&lt;/a&gt;
   &lt;a id="oldcontent" href="ID=22143"&gt;&lt;u&gt;View&lt;/u&gt;&lt;/a&gt;
  &lt;TR&gt;
  </code></pre>
  
  <p>Here i need to click the  tag with Re-Submit text.The issue is  href="ID=22143",id value gets generated dynamically everytime i execute the test case.So i need to click the Re-submit  tag using text present in first  text,i.e Foot-OM.Can anyone provide me the xpath></p>