Salve sto usando la funzione simplexml_load_file per i file XML riesco a leggere il contenuto del XML leggo l'array ,

cod PHP:
<?php

$xml = simplexml_load_file('CBExport_Xml_from22-05-2011_to19-01-2012_Station117.xml');
print_r($xml);
?>

output video:SimpleXMLElement Object ( [RemarkAnalysis] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [Date] => 2011-05-22 [Station] => cz [Microscope] => cz ) [ParticleCode] => ACER [Quantity] => 1 [Remark] => Array ( [0] => SimpleXMLElement Object ( [ParticleCode] => CHEN [Quantity] => 1 ) [1] => SimpleXMLElement Object ( [ParticleCode] => CORY [Quantity] => 6 ) [2] => SimpleXMLElement Object ( [ParticleCode] => CUPR [Quantity] => 27 ) [3] => SimpleXMLElement Object ( [ParticleCode] => CYPE [Quantity] => 1 ) [4] => SimpleXMLElement Object ( [ParticleCode] => EUPH [Quantity] => 4 ) [5] =>


domanda... come faccio a dividere l'array per i singoli element DATE,STATION,PARTICLECODE,QANTITI