XML_Statistics::analyzeString (Previous) (Next) XML_Statistics::countTagsInDepth

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

XML_Statistics::countTag()

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

Description

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

  • string $tagname - name of the tag to count

Return value

integer occurences of the tag

Note

This function can not be called statically.

XML_Statistics::analyzeString (Previous) (Next) XML_Statistics::countTagsInDepth

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.