Array items as text buttons

i have created a list extracted from an xml document. the list is displayed in a dynamic text field and the code is as below. i’d like for each of the list items to be a clickable link that will display an image (link provided from within the xml document) i’ve tried adding the link when it compiles the list, but then in the dynamic text field, the link comes up as ordinary text…any help is appreciated

function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
var list=’’;
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
description* = xmlNode.childNodes*.childNodes[1].firstChild.nodeValue;
list += description*+’ ';
thelist.text = list;
} else {
content = “file not loaded!”;