require_once 'XML/Statistics.php';
integer XML_Statistics::countTag ([string $tagname = null])
integer XML_Statistics::countTag
Counts how often a certain tag is used in the document. If no tagname is specified ot will count the total number of tags.
string $tagname - name of the tag to count
integer occurences of the tag
This function can not be called statically.
XML_Statistics::countTagsInDepth(), XML_Statistics::countAttribute()