xpath_new_context(); $result = xpath_eval($xpctx, 'status/text'); // selecciona el elemento a leer en el feed foreach ($result->nodeset as $nodo) { $end = $nodo->get_content(); } echo $end ?>