XML_Statistics

Table des matières
Introduction -- Introduction à XML_Statistics
Exemple -- Exemple d'utilisation de XML_Statistics
XML_Statistics::apiVersion() -- retourne la version de l'API
XML_Statistics::analyzeFile() -- Analyse un fichier XML
XML_Statistics::analyzeString() -- Analyse une chaîne XML
XML_Statistics::countTag() -- compte les occurences d'un tag
XML_Statistics::countTagsInDepth() -- compte les tags dans une certaine profondeur
XML_Statistics::countPI() -- compte le nombre d'occurences d'une instruction spécifique
XML_Statistics::countExternalEntity() -- compte le nombre d'occurences d'une entité externe
XML_Statistics::getMaxDepth() -- récupère la profondeur maximale
XML_Statistics::countAttribute() -- compte les occurences d'un attribut
XML_Statistics::countDataChunks() -- compte le nombre d'occurences d'un bloc de données
XML_Statistics::getCDataLength() -- récupère la longueur combinée de toutes les sections cdata

Paquet pour analyser statiquement un document XML.