XML_Statistics::countTagsInDepth

XML_Statistics::countTagsInDepth() – compte les tags dans une certaine profondeur

Synopsis

require_once 'XML/Statistics.php';

integer XML_Statistics::counttagsindepth ( integer $depth )

Description

Le tag désiré peut être à une certaine profondeur. Le tag racine est à la profondeur zéro. En comptant les tas en amont dans une profondeur, vous pouvez compter le nombre de jeux d'enregistrements dans le document XML.

Parameter

  • integer $depth - profondeur du tag (0 est le tag racine)

Return value

integer : nmbre de tabs dans la profondeur

Note

This function can not be called statically.