require_once 'XML/Statistics.php';
integer XML_Statistics::countTag ([string $tagname = null])
integer XML_Statistics::countTag
Compte le nombre d'occurences d'un certain tag d'un document XML. Si aucun tag n'est spécifié, le nombre total de tags sera retourné.
string $tagname - nom du tag à compter
integer : occurences de ce tag
Cette fonction ne peut pas être appelée de façon statique.
XML_Statistics::countTagsInDepth(), XML_Statistics::countAttribute()