XML links in flash problem

Hello everyone.

I am trying to load xml links in flash by using CDATA but what I get as a result when I publish the movie is the code itself(<a href=http://www.google.com>Google</a>) instead of the link.

I am pretty sure that I have done something wrong with the actionscript, nodeValue part.

[COLOR=deepskyblue]Here is the xml I am using:[/COLOR]

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
 
<site>
   <links>
      <link1><![CDATA[<a href="http://www.google.com">Google</a>]]></link1>
   </links>
</site>

[COLOR=deepskyblue]And here is the actionscript:[/COLOR]

myText.html = true;
myText.htmlText = xml.childNodes[0].firstChild.nodeValue; 
 
function loadXML(loaded) {
    if (loaded) {
        xmlNode = this.firstChild;
        link1 = [];
        total = xmlNode.childNodes.length;
        for (i=0; i<total; i++) {
            link1* = xmlNode.childNodes*.childNodes[0].firstChild.nodeValue;
            }
        firstImage();
    } else {
        content = "file not loaded!";
    }
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("site.xml");
 
p = 0;
 
function firstImage() {
    if (loaded == filesize) {
        myText.text = link1[0]
    }
}

Any help appreciated.