# XML List to an Array

**URL:** <https://forum.kirupa.com/t/xml-list-to-an-array/43614>\
**Category:** programming\
**Created:** [February 24, 2004, 3:24pm UTC](https://forum.kirupa.com/t/xml-list-to-an-array/43614 "2004-02-24T15:24:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrthad](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@andrthad](https://forum.kirupa.com/u/andrthad)\
**Post date:** [February 24, 2004, 3:24pm UTC](https://forum.kirupa.com/t/xml-list-to-an-array/43614/1 "2004-02-24T15:24:19Z")

</div>

Hi All,

Newb to XML. Would someone show me some sample code on how to get the following XML into an Array in Flash MX called songList.

```auto

<XML>
   <Playlist>
   	<Song>
                      Police - EveryMoveYouMake.mp3
 	</Song>
	<Song>
                      Outkast - HeyYa.mp3
 	</Song>
	<Song>
                      Switchfoot - DareYouToMove.mp3
 	</Song>
   </Playlist>
</XML>

```
