PEAR-Handbuch | ||
---|---|---|
Zurück | Nach vorne |
Counts how often a certain attribute is used in the document. If no attribute is specified ot will count the total number of tags.
With the second parameter you may limit the search to a special tag.
string $attribute - if no attribute name is supplied, all attributes are counted
string $tagname - this allows you to limit your search to a tag
integer occurences of the attribute or a PEAR_Error if the attribute could not be found.
Zurück | Zum Anfang | Nach vorne |
XML_Statistics::getMaxDepth() | Nach oben | XML_Statistics::countDataChunks() |