title: Parsing through innerHTML with HtmlAgilityPack
body: <p>Just trying to figure out how to parse information from already parsed information.</p>
  
  <pre><code>foreach (HtmlNode node in doc.DocumentNode.SelectNodes("//div [@class=\"result-link\"]"))
  {
      if (node == null)
          Console.WriteLine("debug");
      else
      {
          //string h_url = node.Attributes["a"].Value;
          Console.WriteLine(node.InnerHtml);
      }
  }
  </code></pre>
  
  <p>So you can kind fo see what I am trying to do with the 'string h_url' declaration. Within the "result-link" div class there's an a href attribute that I am trying to grab the href value. So the link basically. </p>
  
  <p>Can't seem to figure it out. I have tried using the Attributes array:</p>
  
  <pre><code>string h_url = node.Attributes["//a[@href].Value;
  </code></pre>
  
  <p>With no luck. </p>