previousXML_Statistics::countTag (Previous) (Next) XML_Statistics::countPInext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

XML_Statistics::countTagsInDepth

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

Synopsis

require_once 'XML/Statistics.php';

integer XML_Statistics::counttagsindepth ( integer $depth )

Description

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

  • integer $depth - tag depth (0 is root)

Return value

integer number of tags in this depth

Note

This function can not be called statically.

previousXML_Statistics::countTag (Previous) (Next) XML_Statistics::countPInext

Download Documentation Last updated: Sun, 18 Oct 2009
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.