add: else if ( node_strcmp(root_node, "account") ) { if ( !strcmp(child_content(root_node, "type"), "BANK") ) { recuperation_donnees_gnucash_compte ( root_node ); } else { recuperation_donnees_gnucash_categorie ( root_node ); } } else if ( node_strcmp(root_node, "transaction") ) { recuperation_donnees_gnucash_transaction ( root_node ); }
context: gboolean recuperation_donnees_gnucash ( gchar * filename ){  xmlDocPtr doc;  doc = xmlParseFile ( filename );  if ( doc )    {      xmlNodePtr root = xmlDocGetRootElement(doc);      xmlNodePtr root_node = root -> children;      while ( root_node )	{	  if ( node_strcmp(root_node, "book") )	    {	      recuperation_donnees_gnucash_book ( root_node );	    }	  root_node = root_node -> next;	}    }  printf ("fini\n");  return ( TRUE );}