How to get the 1st element from an array (in XML format)?

Hi Steve,
I have a phone_numbers array (in XML format), I tried to get the 1st element from this array, but I failed.
I also tried to loop through the phone_numbers array:
{foreach from=$person.phone_numbers item=number key=type}
{$number.name}: {$number.number}
{/foreach}
I did not get any data.
Could you please advise me on both issues?
Thank you very much.
Angie
I have a phone_numbers array (in XML format), I tried to get the 1st element from this array, but I failed.
I also tried to loop through the phone_numbers array:
{foreach from=$person.phone_numbers item=number key=type}
{$number.name}: {$number.number}
{/foreach}
I did not get any data.
Could you please advise me on both issues?
Thank you very much.
Angie