integer XML_Statistics::counttagsindepth (
integer $depth
)
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.
integer $depth
- tag depth (0 is root)
integer number of tags in this depth
This function can not be called statically.