JSFiddle - React, Tailwind, and code Playground
JavaScript
xmlDoc = $.parseXML("<entry>\
<id>http://www.google.com/m8/feeds/contacts/7ff84d8009d9a0b</id>\
<updated>2010-04-11T12:47:03.281Z</updated>\
<category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/contact/2008#contact'/>\
<title type='text'>Name</title>\
<link rel='http://schemas.google.com/contacts/2008/rel#edit-photo' type='image/*' href='https://www.google.com/m8/feeds/photos/media/7ff84d8009d9a0b/1B2M2Y8AsgTpgAm7PhCfg'/>\
<link rel='self' type='application/atom+xml' hre='https://www.google.com/m8/feeds/contacts/full/7ff84d8009d9a0b'/>\
<link rel='edit' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/full/7ff84d8009d9a0b/127099002381000'/>\
<gdemail rel='http://schemas.google.com/g/2005#other' address='[email protected]' primary='true'/>\
</entry>");
$xml = $(xmlDoc);
$xml.find('entry').each(function () {
var name = $(this).find("title").text();
var email = $("gdemail",$xml).attr("address");
alert(email);
});