xmlNodePtr root = findNode(cib, XML_CIB_TAG_RESOURCES); FNRET(findEntity(root, XML_CIB_TAG_RESOURCE, id, FALSE));
xmlNodePtr root = find_xmlnode(cib, XML_CIB_TAG_RESOURCES); FNRET(find_entity(root, XML_CIB_TAG_RESOURCE, id, FALSE));
findResource(xmlNodePtr cib, const char *id){    xmlNodePtr root = findNode(cib, XML_CIB_TAG_RESOURCES);    FNRET(findEntity(root, XML_CIB_TAG_RESOURCE, id, FALSE));}