if(node_name == NULL) {  return set_xml_attr_nested(parent, NULL, 0, attr_name, attr_value, create);
if(node == NULL) { crm_warn("Can not set attribute on NULL node"); return NULL; }  result = set_xml_property_copy(node, attr_name, attr_value); if(result == NULL) { crm_warn("Could not set %s=%s at %s (found in %s)", attr_name, attr_value, xmlGetNodePath(node), xmlGetNodePath(parent));
set_xml_attr(xmlNodePtr parent,	     const char *node_name,	     const char *attr_name,	     const char *attr_value,	     gboolean create){	if(node_name == NULL) {		// set it on the current node		return set_xml_attr_nested(parent, NULL, 0,					   attr_name, attr_value, create);	}	return set_xml_attr_nested(parent, &node_name, 1,				   attr_name, attr_value, create);}