title: How to select specific node using Html Agility Pack?
body: <p><code>&lt;div class="form-field wide-80 normal"&gt;1997-09-15&lt;/div&gt;</code></p>
  
  <p>I am trying to select the date inside it 1997-09-15. I tried this code but its giving an error of "Xpath Exception was Unhandled" what's wrong in the code please Help </p>
  
  <pre><code> string Url = "http://whois.domaintools.com/google.com";
  
   HtmlWeb web = new HtmlWeb();
   HtmlAgilityPack.HtmlDocument doc = web.Load(Url);
  
   var SpanNodes = doc.DocumentNode.SelectNodes("//div[@class=form-field wide-80 normal]");
   if (SpanNodes != null)
   {
        foreach (HtmlNode SN in SpanNodes)
        {
            string text = SN.FirstChild.InnerText.Trim();
            MessageBox.Show(text);
        }
   }
  </code></pre>