title: HTML AGILITY PACK Parsing Div Blocks
body: <p>I need to parse items from an internet-shop—I need their name and price. Each <em>item-block</em> is located in a different <code>div</code> within a <code>div-catalog</code> of these items.<br>
  So I tried this, and it kinda works, but I would prefer to parse both name and price in 1 loop. How might I do so? Thanks!</p>
  
  <pre><code>        var url = "http://bestaqua.com.ua/catalog/filtry-obratnogo-osmosa";
          HtmlWeb web = new HtmlWeb();
          HtmlDocument HtmlDoc = web.Load(url);
          var RootNode = HtmlDoc.DocumentNode;
          foreach (HtmlNode node in 
  HtmlDoc.DocumentNode.SelectNodes("//div[@class='catalog_blocks']"))
          {
              foreach (HtmlNode item_name in 
  node.SelectNodes("//div[@class='catalog_blocks-item-name']"))
              {
                      string name = item_name.InnerText;
                      System.Diagnostics.Debug.Write("NAME :" + name + "\n" );
              }
              foreach (HtmlNode item_price in 
  node.SelectNodes("//span[@class='price-new']"))
              {
                  string price = item_price.InnerText;
                  System.Diagnostics.Debug.Write("PRICE: " + price + "\n");
              }
          }
  </code></pre>