Hi! I want to load collada with libxml2. I get the COLLOADA node, okay, then I try to get the children tag - FAIL, the children tag name is "text". Why? How can i get the child of COLLADA node?
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;
Where am I wrong?