I\'m reading from an API that returns paginated XML.The basic format of the API\'s output is: <candidates.list page=\"1\" next_page=\"yes\">
I\'d like to loop through a list of strings and execute a 开发者_如何学JAVAfunction/procedure with each string as the argument.