Dynamic Text Boxes Generated with XML

I have a content management system in place on a site I’m working on and I have successfully loaded all of my data into flash with XML. The data that is being pulled in are bios for individuals and they have email addresses.

My Question: How do I write the markup in the xml so that the email addresses will be links when the data is pulled into flash? All of the text is pulled into a few dynamic text fields and the contact information is in its own dynamic text field. I have phone number, fax and email…

My Code:
$xml_output .= " <contact>Phone:" . $row[‘phone’] . " Fax:".$row[‘fax’]." Email:<ahref=‘mailto:".$row[‘email’]."’>".$row[‘email’]."</a></contact>
";

This is the line of code that creates the entry in the XML document. I’m trying to write it where it will make the email entry a link in the dynamic text box. * HTML is enabled on the dynamic text box.

Thanks for any help.