crm_debug("Can not find attribute %s in NULL parent",attr_name);
crm_devel("Can not find attribute %s in NULL parent",attr_name);
get_xml_attr_nested(crm_data_t *parent,		    const char **node_path, int length,		    const char *attr_name, gboolean error){	const char *attr_value = NULL;	crm_data_t *attr_parent = NULL;	if(error || parent != NULL) {		crm_validate_data(parent);	}		if(parent == NULL) {		crm_debug("Can not find attribute %s in NULL parent",attr_name);		return NULL;	} 	if(attr_name == NULL || strlen(attr_name) == 0) {		crm_err("Can not find attribute with no name in %s",		       xmlGetNodePath(parent));		return NULL;	}		if(length == 0) {		attr_parent = parent;			} else {		attr_parent = find_xml_node_nested(parent, node_path, length);		if(attr_parent == NULL && error) {			crm_err("No node at the path you specified.");			return NULL;		}	}		attr_value = crm_element_value(attr_parent, attr_name);	if((attr_value == NULL || strlen(attr_value) == 0) && error) {		crm_err(		       "No value present for %s at %s",		       attr_name, xmlGetNodePath(attr_parent));		return NULL;	}		return attr_value;}