# XML as3

**URL:** <https://forum.kirupa.com/t/xml-as3/304140>\
**Category:** flash\
**Created:** [February 2, 2010, 10:23am UTC](https://forum.kirupa.com/t/xml-as3/304140 "2010-02-02T10:23:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashinobi](https://avatars.discourse-cdn.com/v4/letter/f/e9c0ed/32.png) [@flashinobi](https://forum.kirupa.com/u/flashinobi)\
**Post date:** [February 2, 2010, 10:23am UTC](https://forum.kirupa.com/t/xml-as3/304140/1 "2010-02-02T10:23:37Z")

</div>

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!
