title: Unable to get span tag using xpath
body: <pre><code>&lt;div class="product_box"&gt;
      &lt;div class="list_sale"&gt;
          &lt;img src="link" class="listsale" alt=""&gt;
              &lt;div class="product_box_title"&gt;
                  &lt;a href="link"&gt;&lt;strong&gt;title here&lt;/a&gt;&lt;/strong&gt;
              &lt;/div&gt;
              &lt;div class="product_box_desc"&gt;
                  some text here
                  &lt;strike&gt;some text&lt;/strike&gt; 
                  &lt;br /&gt;
                  &lt;span class="list_price"&gt;THIS IS THE NEEDED TEXT&lt;/span&gt;
                  &lt;a href="link"&gt;&lt;strong&gt;some text&lt;/strong&gt;&lt;/a&gt;
              &lt;/div&gt;
              &lt;div class="list_buynow"&gt;
              &lt;form action="link" class="add_to_cart" method="post"&gt;
                  &lt;div class="add_cart"&gt;
                      &lt;input type="image" src="link" value="add_to_cart" class="add_button"&gt;
                      &lt;input id="fast_order_0_item_code" type="hidden" name="fast_order[0] [item_code]" value="value" class="item_code"/&gt;
                      &lt;input name="fast_order[0][add]" value="1" class="add_qty"&gt;
                      &lt;input type="hidden" name="redirect_uri" value="value"&gt;
                  &lt;/div&gt;
              &lt;/form&gt;
          &lt;/div&gt;
         &lt;div class="product_box_img"&gt;
             &lt;a href="link"&gt;
                 &lt;a href="link"&gt;&lt;img src="http://stacktoheap.com/images/stackoverflow.png" alt=""&gt;&lt;/a&gt;
             &lt;/a&gt;  
         &lt;/div&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This is my html file and from this div I need to extract "THIS IS THE NEEDED TEXT". I Had been able to get the div with class "product_box_desc" and from that I am able to get the text under it "some text here". But I am unable to fetch the span which contains the text. Here is the XPATH query I am using, please suggest what has to be changed.</p>
  
  <pre><code>$dom_xpath-&gt;query("//div[@class='product_box']/div/div[@class='product_box_desc']/span[@class='list_price']")
  </code></pre>