I am just starting with the mentioned Parser and somehow running on problems directly with the beginning.
Referring to this tutorial:
http://net.tutsplus.com
The to find the following elements: DIV -> class(product-inner clearfix) -> class(price) the following XPath can be used:
DIV -> class(product-inner clearfix) -> class(price)
foreach($html->find('div[class=product-inner clearfix]') as $element){ $itemPrice = $element->find('.price',0)->plaintext; echo $itemPrice; }