$dom = new DOMDocument;
$dom->load('address-book.xml');
$xpath = new DOMXPath($dom);
$email = $xpath->query('/address-book/person/email');
//
D
S
New York
NY
s@php.net
A
T
San Francisco
CA
a@php.net