title: Find the node that has no children. If it has any <span> children, just ignore it
body: <p>I'm using HTMLAgilityPack. I have something like this:</p>
  
  <pre><code>&lt;div class="address"&gt;
    &lt;h3&gt;Postadress&lt;/h3&gt;
    &lt;div class="box-address"&gt;Box  27 &lt;/div&gt;
    &lt;div class="post-address"&gt;
      16493 KISTA 
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The problem is there are other <code>&lt;div class="address"&gt;</code>s.
  So I have to find the one that has a <code>&lt;h3&gt;</code> child with the text "Postaddress".
  What I need to extract is the value of <code>&lt;div class="post-address"&gt;</code> that is "16493 KISTA".
  There are other records returned for <code>&lt;div class="post-address"&gt;</code> that have  children and I don't want those to be returned. I'm only looking for <code>&lt;div class="post-address"&gt;</code> that has no children and only contains naked text. </p>
  
  <p>My solution so far is:</p>
  
  <pre><code>var postAddressdiv = doc.DocumentNode.SelectNodes("//div[@class='address']");
  if (postAddressdiv != null)
  {
      foreach (HtmlAgilityPack.HtmlNode node in postAddressdiv)
      {
          HtmlNode postAddress;
          var h3 = node.Descendants("h3");
          if (h3 != null)
          {
              if (h3.First().LastChild.InnerHtml == "Postadress")
              {
                  MessageBox.Show("right place you are.");
                  postAddress = node.SelectSingleNode("//div[@class='post-address']");
                  var postAddressChildren = postAddress.Descendants();
                  if (postAddressChildren == null)
                      MessageBox.Show("found one!!!!");
              }
          }
      }
  }
  </code></pre>
  
  <p>But it's not working. What am I doing wrong? Thanks.</p>