# Dynamic Text Boxes Generated with XML

**URL:** https://forum.kirupa.com/t/dynamic-text-boxes-generated-with-xml/235100
**Category:** programming
**Created:** [August 8, 2007, 1:38pm UTC](https://forum.kirupa.com/t/dynamic-text-boxes-generated-with-xml/235100 "2007-08-08T13:38:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mrmike](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@mrmike](https://forum.kirupa.com/u/mrmike)
#### Post date: [August 8, 2007, 1:38pm UTC](https://forum.kirupa.com/t/dynamic-text-boxes-generated-with-xml/235100/1 "2007-08-08T13:38:50Z")

</div>

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.
