I think you iterate over members, not names: success: function(xml) { $(xml).find(' members').each(function(){ $(this).find("name").each(function(){ var ...
stackoverflow.com