Ciao.

Potresti utilizzare un semplice ciclo for anziché foreach.

ad esempio:
Codice PHP:
$news = new SimpleXMLElement($xmlstr); 
for ( 
$i 0$i <= 1$i++)
{
  
$item=$news["item"][$i]