QueryKey}&WebEnv={$xml->WebEnv}&retstart=0&retmax=10")){ $docs = $xml->xpath('//DocSum'); } } print_r($docs); ?>