#ifdef USE_LIBXML local_name = crm_strdup(name);  if(parent == NULL) ret_value = xmlNewNode(NULL, local_name); else { parent_name = parent->name; ret_value = xmlNewChild(parent, NULL, local_name, NULL); } #else 
create_xml_node(crm_data_t *parent, const char *name){	const char *local_name = NULL;	const char *parent_name = NULL;	crm_data_t *ret_value = NULL;		if (name == NULL || strlen(name) < 1) {		ret_value = NULL;	} else {#ifdef USE_LIBXML		local_name = crm_strdup(name);		if(parent == NULL) 			ret_value = xmlNewNode(NULL, local_name);		else {			parent_name = parent->name;			ret_value =				xmlNewChild(parent, NULL, local_name, NULL);		}#else		local_name = name;		ret_value = ha_msg_new(1);		CRM_DEV_ASSERT(ret_value != NULL);				set_xml_property_copy(ret_value, F_XML_TAGNAME, name);		crm_validate_data(ret_value);		if(parent) {			crm_validate_data(parent);			parent_name = crm_element_name(parent);			crm_debug_5("Attaching %s to parent %s",				   local_name, parent_name);			CRM_DEV_ASSERT(HA_OK == ha_msg_addstruct(					   parent, name, ret_value));			crm_msg_del(ret_value);			crm_update_parents(parent);			crm_validate_data(parent);			ret_value = parent->values[parent->nfields-1];			crm_validate_data(ret_value);		}#endif	}	crm_debug_5("Created node [%s [%s]]",		  crm_str(parent_name), crm_str(local_name));/*	set_node_tstamp(ret_value); */	return ret_value;}
8182	/local/tlutelli/issta_data/temp/c/2005_temp/2005/8182/50d05afdbc8743d6b8079541c4592c1bd0365dad/xml.c/clean/lib/crm/common/xml.c