- if (!strncmp((const char *) ptr->name, "i", 1)) {
- int length = strlen(ptr->name+1);
- if (length > 0) {
- int index = (int)strtol(ptr->name+1, (char **)NULL, 10);
- for (p = ptr->children; p ; p = p->next)
- if (p->type == XML_TEXT_NODE) {
- indicators[index] = ((const char *)p->content)[0];
- break;
- }
- }
- }
- else if (!strncmp((const char *) ptr->name, "s", 1))