title: Get a value of an attribute by HtmlAgilityPack
body: <p>I want to get a value of an attribute by HtmlAgilityPack. Html code:</p>
  
  <pre><code>&lt;link href="style.css"&gt;
  &lt;link href="anotherstyle.css"&gt;
  &lt;link href="anotherstyle2.css"&gt;
  &lt;link itemprop="thumbnailUrl" href="http://image.jpg"&gt;
  &lt;link href="anotherstyle5.css"&gt;
  &lt;link href="anotherstyle7.css"&gt;
  </code></pre>
  
  <p>I want to get last href attribute.</p>
  
  <p>My c# code:</p>
  
  <pre><code>HtmlWeb web = new HtmlWeb();
  HtmlAgilityPack.HtmlDocument htmldoc = web.Load(Url);
  htmldoc.OptionFixNestedTags = true;
  var navigator = (HtmlNodeNavigator)htmldoc.CreateNavigator();
  string xpath = "//link/@href";
  string val = navigator.SelectSingleNode(xpath).Value;
  </code></pre>
  
  <p>But that code return first href value.</p>