XML as3

Hi everyone,

Do you know what seems to be the problem here? Whenever i output the xml data, it still brings out the xml tags but on the second row it shows the elements.

[COLOR=DimGray]//First Row Load
[COLOR=Black]<item>images/1.jpg</item>
<item>images/2.jpg</item>
<item>images/3.jpg</item>
<item>images/4.jpg</item>
<item>images/5.jpg</item>
<item>images/6.jpg</item>[/COLOR]

//Second Row Load
[COLOR=Black]images/11.jpg[/COLOR]

[COLOR=Black]so on and so forth…[/COLOR][/COLOR]

the AS i used is this:

[COLOR=DimGray]//Loading of Images[/COLOR]
[COLOR=Red] if(rCount > 0 && index < rCount)
{
var i = index;
index++;

            var adThumb = qAds*.*;
            
            trace(adThumb);[/COLOR]

I’ve tried using the “toXMLString()” and the “toString()” but still the same thing continues to output.

Thanks for the help in advance!