- file_get_contents: documentation ( source)
- var_dump: documentation ( source)
<?php
$a = file_get_contents('http://rezeptewiki.org/wiki/Zutat:Ackererbse');
var_dump($a);
$xml = new SimpleXMLElement($a);
// seach records by tag value:
// find all book records with price higher than 40$
$res = $xml->xpath('//div[@id="mw-content-text"]/table/tbody/tr[5]/td/i/text() *');
var_dump($res);