# 2 column xml list

**URL:** <https://forum.kirupa.com/t/2-column-xml-list/194031>\
**Category:** flash\
**Created:** [July 20, 2006, 1:30am UTC](https://forum.kirupa.com/t/2-column-xml-list/194031 "2006-07-20T01:30:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roleiflex](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@roleiflex](https://forum.kirupa.com/u/roleiflex)\
**Post date:** [July 20, 2006, 1:30am UTC](https://forum.kirupa.com/t/2-column-xml-list/194031/1 "2006-07-20T01:30:07Z")

</div>

Hi,  
any idea or suggestions on how I can create an xml based list with 2 columns? for example i would like to have a list of tracks for an audio player, in this list i would like to have the track names and the time appear and each column aligned vertically evenly, much like 2 columns in a html table.

I have the list of track names working and can add the times by putting space after the trackname (in my actionscript string) but i cannot align the times evenly.

here is the function that does that::

function setPlaylistwahl() {  
playchoice.playliste = “”;  
for (var j=1; j \<= aPath.length; j++) {  
playchoice.playliste += “\<a href='asfunction:playchoice,”+j+"’\>"+j+". \<u\>"+songTitel[(j-1)].substr(0,25)+"\</u\>\</a\> “+songTime[(j-1)].substr(0,25)+”\<br\>";  
}  
}

Any help would be much appreciated.
