rem: if (xmlStrcasecmp(attr->name, name) == 0)
add: if (xmlStrcasecmp(attr->name, (xmlChar*)name) == 0)
context: xmlAttrPtr xmlNodeGetAttrByName(xmlNodePtr node, const char *name){	xmlAttrPtr attr = node->properties;	while (attr) {		if (xmlStrcasecmp(attr->name, name) == 0)			return attr;		attr = attr->next;	}	return NULL;}