XML_Statistics::analyzeString | XML_Statistics::countTagsInDepth |
XML_Statistics | |
PEAR Manual | |
require_once 'XML/Statistics.php'; |
integer XML_Statistics::countTag (
string $tagname = null
)
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::analyzeString | XML_Statistics::countTagsInDepth |
XML_Statistics | |
PEAR Manual | |