Running a live stream from an XML playlist

I have just successfully installed Adobe FMS on my server.

I would now like to know how to program a script to run a continuous live stream, of MP4 videos, from an XML playlist.
Can anyone tell me how to do this? …or provide me a good tutorial?

Thanks in advance…