# XML List to an Array

**URL:** <https://forum.kirupa.com/t/xml-list-to-an-array/102504>\
**Category:** Uncategorized\
**Created:** [February 24, 2004, 3:24pm UTC](https://forum.kirupa.com/t/xml-list-to-an-array/102504 "2004-02-24T15:24:19Z")\
**Posts on this page:** 2\
**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/102504/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>

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2004, 2:22pm UTC](https://forum.kirupa.com/t/xml-list-to-an-array/102504/2 "2004-02-25T14:22:14Z")

</div>

You’re right. That tute is awesome. I was just going to ask you about the concept of nextsibling. I will just study the tute instead.
