title: Getting certain attribute value using XPath
body: <p>From the following HTML snippet:</p>
  
  <pre><code>&lt;link rel="index" href="/index.php" /&gt;
  &lt;link rel="contents" href="/getdata.php" /&gt;
  &lt;link rel="copyright" href="/blabla.php" /&gt;
  &lt;link rel="shortcut icon" href="/img/all/favicon.ico" /&gt;
  </code></pre>
  
  <p>I'm trying to get the <code>href</code> value of the <code>link</code> tag with rel value = <code>"shortcut icon"</code>, I'm trying to achieve that using XPath.</p>
  
  <p>How to do that in Python?</p>