title: want to parse href in ruby on rails using nokogiri
body: <p>I am using <a href="http://nokogiri.org/" rel="nofollow"><code>nokogiri</code></a> as my HTML parser.</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  &lt;form&gt;
  &lt;table&gt;
      &lt;tr&gt;&lt;td&gt;Some Text&lt;/td&gt;&lt;/tr&gt;
      &lt;tr&gt;
          &lt;td colspan="2" align="center"&gt;
              &lt;br /&gt;
              &lt;a href="TransportRoom?servlet=CaseSearch.jsp&amp;amp;advancedSearch=Advanced"&gt;
                  Advanced Search
              &lt;/a&gt;
              &lt;br /&gt;
              &amp;nbsp;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>In this html code I want to parse the "Advance Search" link. This html is saved in variable named <code>doc1</code> </p>
  
  <p>Can anyone help me with this?</p>