Use xmlDocGetRootElement() and xmlNodeGetContent() in list_accounts()