La cosa migliore sarebbe usare un xpath

Codice PHP:
$dom=simplexml_load_string('<......>');
$dom->xpath('//a/@href'); 
Non l'ho testato ma dovrebbe andare .... più o meno