title: HTMLAgilityPack get innerText of a td tag with an id attribute
body: <p>I am trying to select the inner text of a td with an id attribute with the HTMLAgilityPack.</p>
  
  <p>Html Code:</p>
  
  <pre><code>&lt;td id="header1"&gt;    5    &lt;/td&gt;
  &lt;td id="header2"&gt;    8:39pm    &lt;/td&gt;
  &lt;td id="header3"&gt;    8:58pm    &lt;/td&gt;
  ...
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>HtmlAgilityPack.HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();
  
  doc.LoadHtml(data);
  
  var nodes = doc.DocumentNode.SelectNodes("//td[@id='header1']");
  
  if (nodes != null)
  {
      foreach (HtmlAgilityPack.HtmlNode node in nodes)
      {
          MessageBox.Show(node.InnerText);
      }
  }
  </code></pre>
  
  <p>I keep getting null nodes because I am not selecting the td tag correctly but cannot figure out what I have done wrong...</p>
  
  <p>Edit:</p>
  
  <p>I made a mistake with header1 and header2, but there are 5 different td tags with headers 1 to 5.</p>