Asp & Xml

liunx

Guest
hello.

i've been toying w/ a flash player that reads the tracks to play from an xml file.

the xml file looks something like this:
<?xml version="1.0" ?>
- <songs>
<song display="Choose a Song" url="" />
<song display="The War" url="TheWar.mp3" />
<song display="Romulus Augustus" url="RA.mp3" />
<song display="Dizzy" url="Dizzy.mp3" />
<song display="Black on Water" url="BOW.mp3" />
<song display="7 Second Afternoon" url="7SA.mp3" />
<song display="1984" url="1984.mp3" />
</songs>

what i'm trying to do is build that list either from a db or have the user manually via textarea edit the track details or add and delete.

i've seen all kinds of scripts on the web most of which are no help, in .net or produce the wrong 'style' xml code.

i guess my questions are:

1. which would be better
a. to build w/ db
b. to use file system object (if possible)

2. how can i format the xml properly?

thanks,Visit <!-- m --><a class="postlink" href="http://www.7nights.com/asterisk/">http://www.7nights.com/asterisk/</a><!-- m --> and drop Keith a note...his player may be what you're looking for.Visit <!-- m --><a class="postlink" href="http://www.7nights.com/asterisk/">http://www.7nights.com/asterisk/</a><!-- m --> and drop Keith a note...his player may be what you're looking for.Visit <!-- m --><a class="postlink" href="http://www.7nights.com/asterisk/">http://www.7nights.com/asterisk/</a><!-- m --> and drop Keith a note...his player may be what you're looking for.Can you tell I'm serious? :)hehehe

thats funny.

i checked that out. nice player.

however i finally wrapped my head around some different logic and if i can't get this to work i will contact dude.

what i did instead is just have the user upload a new xml file via asp upload each time they wish to add more tracks (luckily the user knows a little somethin'somethin' about html which is basically xml syntax wise:)). and that seems to work fine except that i have to provide a url on the same server for some reason. so thats the workaround now.

:rolleyes:

thanks,
briston
 
Back
Top