# XML file parsing problem

**URL:** <https://forum.kirupa.com/t/xml-file-parsing-problem/219842>\
**Category:** flash\
**Created:** [March 20, 2007, 4:59pm UTC](https://forum.kirupa.com/t/xml-file-parsing-problem/219842 "2007-03-20T16:59:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gvnirmal](https://avatars.discourse-cdn.com/v4/letter/g/848f3c/32.png) [@gvnirmal](https://forum.kirupa.com/u/gvnirmal)\
**Post date:** [March 20, 2007, 4:59pm UTC](https://forum.kirupa.com/t/xml-file-parsing-problem/219842/1 "2007-03-20T16:59:01Z")

</div>

Hi All  
I wrote an actionscript like the following:

function parsePack(success:Boolean)  
{  
if(success)  
{

```
    cPackID = package_xml.firstChild.attributes["ID"];
    cfName = package_xml.firstChild.childNodes[0].firstChild;
        
    //Push the file and package details
    fileList.push(cfName);
    trace(fileList.push(cfName));
    packageList.push(cPackID);
            
}

```

}

I am getting the output as  
05  
09  
06  
10  
07  
11  
08  
12  
04  
13

I am able to parse the file and I am getting an output like above. But I want to have the output like this: 05,09,06,10,07,11,08,12,04,13 and again start with 05,06…without an end.

Can anyone help me in this regard…??  
Thanks in advance…!  
Nirmal.
