- // find child nodes named 'elements'
- #if 0
- if (xmlObj->children) {
- xmlNode* cur = xmlObj->children;
- int i =0;
- while (cur != NULL)
- {
- if (!xmlStrcmp(cur->name, (const xmlChar*)"button")) {
- btn[i] = xmlGetProp(cur, "title");
- SETTING_TRACE("------>>> node type : Element, name=%s id=%s / btn[%d] = %s ",
- cur->name,xmlGetProp(cur, "id"),
- i,
- btn[i]);
- i++;
- }
- cur = cur->next;
- }
- }
- #endif
- //----------------------------------------------------------------