XML_Statistics::countTagsInDepth()

XML_Statistics::countTagsInDepth() -- count the tags in a certain depth

Referentiesamenvatting

require_once 'XML/Statistics.php';

integer XML_Statistics::counttagsindepth (integer $depth)

Beschrijving

Thru nesting a tag can be at a certain depth. The root tag is at depth zero. By counting the amount of tags in a depth you can count the number of recordsets in an XML document.

Parameter

Return waarde

integer number of tags in this depth

Note

Deze functie kan niet statisch worden aangeroepen.

Zie

XML_Statistics::countTag()