Documentation de la bibliothèque MLV-3.1.0

◆ MLV_get_number_of_objects_from_xml()

int MLV_get_number_of_objects_from_xml ( const MLV_Xml * xml_data,
const char * xpath,
... )

Compte le nombre d'objets présents dans le fichier xml verifiant un certain nombre de critères passés en paramètre de la fonction.

Paramètres
xml_dataLes données xml.
xpathLe chemin d'accès.
...Les paramètres de la fonction.
Renvoie
Cette fonction renvoie le nombre d'objet ayant pour chemin d'accès "xpath".
Exemples
advanced/10_read_xml_file.c.