XML_Statistics::countTag()

XML_Statistics::countTag() -- count the occurences of a tag

Referentiesamenvatting

require_once 'XML/Statistics.php';

integer XML_Statistics::countTag ([string $tagname = null])

Beschrijving

Counts how often a certain tag is used in the document. If no tagname is specified ot will count the total number of tags.

Parameter

Return waarde

integer occurences of the tag

Note

Deze functie kan niet statisch worden aangeroepen.

Zie

XML_Statistics::countTagsInDepth(), XML_Statistics::countAttribute()