crm_trace("returning node (%s).", xmlGetNodePath(a_child)); crm_trace("contents\t%s", dump_xml_formatted(a_child)); crm_trace("found in\t%s", dump_xml_formatted(root));
crm_insane("returning node (%s).", xmlGetNodePath(a_child)); crm_insane("contents\t%s", dump_xml_formatted(a_child)); crm_insane("found in\t%s", dump_xml_formatted(root));
find_xml_node(xmlNodePtr root, const char * search_path){	if(search_path == NULL) {		crm_warn("Will never find <NULL>");		return NULL;	}		xml_child_iter(		root, a_child, search_path,		crm_trace("returning node (%s).", xmlGetNodePath(a_child));		crm_trace("contents\t%s", dump_xml_formatted(a_child));		crm_trace("found in\t%s", dump_xml_formatted(root));		return a_child;		);	crm_warn("Could not find %s in %s.", search_path, xmlGetNodePath(root));	return NULL;}