Documentation
count
usage
number xml->count( string xpath )
paramètres
xpath : path to the nodes you want to count
retourne
Returns a number representing how much node match your xpath
exemples
$result = query($NQL);
$xml = new XML($result);
if( $xml->count("/RESPONSE/RESULTS/CONTACT") > 3 ){
echo 'Sorry, no more tickets available';
}