Documentation
getElements
usage
array xml->getElements( string xpath )
paramètres
xpath : path to the nodes you want to get in the array
retourne
Returns an array of XMLNode objects
exemples
$result = query($NQL);
$xml = new XML($result);
$medias = $xml->getElements("/RESPONSE/RESULTS/MEDIA");
foreach($medias as $media)
echo $media->valueOf("DESCRIPTIONS/DESCRIPTION/TITLE");