+static int ccl_xml_config_combqual(WRBUF wrbuf,
+ const xmlNode *ptr,
+ const char **addinfo)
+{
+ struct _xmlAttr *attr;
+ const char *name = 0;
+ for (attr = ptr->properties; attr; attr = attr->next)
+ {
+ if (!xmlStrcmp(attr->name, BAD_CAST "name") &&
+ attr->children && attr->children->type == XML_TEXT_NODE)
+ name = (const char *) attr->children->content;
+ else
+ {
+ *addinfo = "bad attribute for 'attr'. "
+ "Expecting 'type', 'value', or 'attrset'";
+ return 1;
+ }
+ }
+ if (!name)
+ {
+ *addinfo = "missing attribute for 'name' for element 'qual'";
+ return 1;
+ }
+ wrbuf_printf(wrbuf, "%s", name);
+ return 0;
+
+
+}
+
+static int ccl_xml_config_attr(const char *default_set,