int lpc = 1;
unpack_nodes(xmlNodePtr nodes){	cl_log(LOG_DEBUG, "Begining unpack... %s", __FUNCTION__);	cl_log(LOG_DEBUG, "Number of nodes... %d", g_slist_length(node_list));	int lpc = 1;	while(nodes != NULL) {		cl_log(LOG_DEBUG, "Processing node...");		xmlNodePtr xml_obj = nodes;		const char *id = xmlGetProp(xml_obj, "id");		nodes = nodes->next;			if(id == NULL) {			cl_log(LOG_ERR, "Must specify id tag in <node>");			continue;		}		node_t *new_node = cl_malloc(sizeof(node_t));		new_node->weight = 1.0 * lpc++;		new_node->fixed = FALSE;		new_node->id = cl_strdup(id);		cl_log(LOG_DEBUG, "Adding node id... %s (%p)", id, new_node);		node_list = g_slist_append(node_list, new_node);		cl_log(LOG_DEBUG, "Number of nodes... %d", g_slist_length(node_list));    	}  	cl_log(LOG_DEBUG, "Sorting nodes... %s", __FUNCTION__);	node_list = g_slist_sort(node_list, sort_node_weight);	return TRUE;}