I am learning scraping using the PHP Simple HTML DOM Parser and Xpath. Accroding to the changelog given here http://sourceforge.net/news/?group_id=218559. The PHP SImple HTM
The find function. http://simplehtmldom.sourceforge.net/manual.htm#section_find
$content = file_get_html($link); $elems = $content->find("/html/body/div/div");