$xmlref={ 'link' => [ { 'rel' => 'alternate', 'href' => 'http://www.youtube.com/profile_friends?user=user', 'type' => 'text/html' }, # ... # ... # ... # ... ], 'entry' => [ { 'yt:status' => 'accepted', 'link' => [ { 'rel' => 'related', 'href' => 'http://gdata.youtube.com/feeds/api/users/clarknet', 'type' => 'application/atom+xml' }, #... #... #... #... ], 'author' => { 'name' => 'user', 'uri' => 'http://gdata.youtube.com/feeds/api/users/user' }, 'published' => '2007-03-07T07:35:03.000-08:00', 'yt:username' => 'clarknet', 'id' => 'http://gdata.youtube.com/feeds/api/users/user/contacts/clarknet', 'updated' => '2010-04-07T08:10:04.931Z', 'category' => { 'scheme' => 'http://schemas.google.com/g/2005#kind', 'term' => 'http://gdata.youtube.com/schemas/2007#friend' }, 'title' => { 'content' => 'clarknet', 'type' => 'text' }, }, #.... #.... #.... #.... #.... ], 'openSearch:startIndex' => '1', 'openSearch:itemsPerPage' => '50', 'author' => { 'name' => 'user', 'uri' => 'http://gdata.youtube.com/feeds/api/users/user' }, 'generator'=> { 'version' => '2.0', 'content' => 'YouTube data API', 'uri' => 'http://gdata.youtube.com/' }, 'logo' => 'http://www.youtube.com/img/pic_youtubelogo_123x63.gif', 'xmlns:yt' => 'http://gdata.youtube.com/schemas/2007', 'openSearch:totalResults' => '603', 'id' => 'http://gdata.youtube.com/feeds/api/users/user/contacts', 'updated' => '2010-04-07T08:10:04.933Z', 'category' => { 'scheme' => 'http://schemas.google.com/g/2005#kind', 'term' => 'http://gdata.youtube.com/schemas/2007#friend' } 'title' => { 'content' => 'Contacts of user', 'type' => 'text' } };