if (an_xml_node == NULL) {
crm_data_t* xml_node  = NULL;  xml_node  = copy_xml_node_recursive(an_xml_node);  if (xml_node == NULL) {
dump_xml_unformatted(xmlNodePtr an_xml_node) {	int len = 0;	xmlBufferPtr xml_buffer;	xmlChar *buffer = NULL;	if (an_xml_node == NULL) {		return NULL;	}	crm_insane("Initializing Parser");	xmlInitParser();	crm_insane("Dumping data");		xml_buffer = xmlBufferCreate();	len = xmlNodeDump(xml_buffer, an_xml_node->doc, an_xml_node, 0, 0);		if(len < 0) {		crm_err("Error dumping xml");		xmlBufferFree(xml_buffer);		return NULL;	}		buffer = (xmlChar*)crm_strdup(xmlBufferContent(xml_buffer)); 	xmlBufferFree(xml_buffer);	if (!buffer) {		crm_err("memory allocation failed");	}	crm_insane("Cleaning up parser");	xmlCleanupParser();	return buffer;}