# XML file parsing

**URL:** <https://forum.kirupa.com/t/xml-file-parsing/219841>\
**Category:** flash\
**Created:** [March 20, 2007, 4:56pm UTC](https://forum.kirupa.com/t/xml-file-parsing/219841 "2007-03-20T16:56:46Z")\
**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:56pm UTC](https://forum.kirupa.com/t/xml-file-parsing/219841/1 "2007-03-20T16:56:46Z")

</div>

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 want to have an output like 05,09,06,10,07,11,08,12,04,13 and again start with 05,06…without a stop.

Can anyone help me in this regard…??
