- struct _xmlAttr *attr;
- for (attr = node->properties; attr; attr = attr->next){
- if (attr_content_xml(attr, "name", &index_p)){
- index_value_of(tinfo, recctr, node, index_p);
- }
- else
- // printf("%s: dom filter: s% bad attribute %s",
- // tinfo->fname, xmlGetNodePath(node)), nodeattr->name);
- printf("dom filter: %s bad attribute @%s, expected @name\n",
- xmlGetNodePath(node), attr->name);
- }
- }
- else if (0 == XML_STRCMP(node->name, "record")){
- xmlChar *id_p = 0;
- xmlChar *rank_p = 0;
- xmlChar *action_p = 0;
-
- struct _xmlAttr *attr;
- for (attr = node->properties; attr; attr = attr->next){
- if (attr_content_xml(attr, "id", &id_p))
- ;
- else if (attr_content_xml(attr, "rank", &rank_p))
- ;
- else if (attr_content_xml(attr, "acton", &action_p))
- ;
- else
- // printf("%s: dom filter: s% bad attribute %s",
- // tinfo->fname, xmlGetNodePath(node)), nodeattr->name);
- printf("dom filter: %s bad attribute @%s,"
- " expected @id|@rank|@action\n",
- xmlGetNodePath(node), attr->name);
-
- if (action_p && 0 != strcmp("update", (const char *)action_p))
- printf("dom filter: %s attribute @%s,"
- " only implemented '@action=\"update\"\n",
- xmlGetNodePath(node), attr->name);
+ struct _xmlAttr *attr;
+ for (attr = node->properties; attr; attr = attr->next){
+ if (attr_content_xml(attr, "id", &id_p))
+ ;
+ else if (attr_content_xml(attr, "rank", &rank_p))
+ ;
+ else if (attr_content_xml(attr, "acton", &action_p))
+ ;
+ else
+ // printf("%s: dom filter: s% bad attribute %s",
+ // tinfo->fname, xmlGetNodePath(node)), nodeattr->name);
+ printf("dom filter: %s bad attribute @%s,"
+ " expected @id|@rank|@action\n",
+ xmlGetNodePath(node), attr->name);
+
+ if (action_p && 0 != strcmp("update", (const char *)action_p))
+ printf("dom filter: %s attribute @%s,"
+ " only implemented '@action=\"update\"\n",
+ xmlGetNodePath(node), attr->name);