xmlNodePtr nvpair_list = find_xml_node_nested(parent, attr_path, depth);
if(parent != NULL) { nvpair_list = find_xml_node_nested(parent, attr_path, depth); }
xml2list(xmlNodePtr parent, const char**attr_path, int depth){	xmlNodePtr node_iter = NULL;	GHashTable   *nvpair_hash =		g_hash_table_new(&g_str_hash, &g_str_equal);	xmlNodePtr nvpair_list =		find_xml_node_nested(parent, attr_path, depth);		while(nvpair_list != NULL){		node_iter = nvpair_list->children;		while(node_iter != NULL) {						const char *key   = xmlGetProp(				node_iter, XML_NVPAIR_ATTR_NAME);			const char *value = xmlGetProp(				node_iter, XML_NVPAIR_ATTR_VALUE);						crm_verbose("Added %s=%s", key, value);						g_hash_table_insert (nvpair_hash,					     crm_strdup(key),					     crm_strdup(value));						node_iter = node_iter->next;		}		nvpair_list=nvpair_list->next;	}		return nvpair_hash;}