Je veux charger collada avec libxml2. Je reçois le noeud COLLOADA, d'accord, puis j'essaie d'obtenir la balise enfants - FAIL, le nom de balise enfants est "texte". Pourquoi? Comment puis-je obtenir l'enfant du noeud COLLADA?Collada chargement avec libxml2
xmlNode* geometries = xmlDocGetRootElement(doc)->children;
//at THIS point the geometries->name == "text" WHY?
//IS not it supposed to be "asset"?
while(!xmlStrcmp(geometries->name, (const xmlChar*)"library_geometries"))
geometries = geometries->next;
xmlNode* mesh = geometries->children;
for(uint i = 0; i < idx; i++)
mesh = mesh->next;
Où est-ce que je me trompe?