<?xml version="1.0" encoding="UTF-8"?>
<playlist version="0" xmlns = "http://xspf.org/ns/0/">
<trackList>
<track>
<location>http://www.scientificjam.com/mp3s/freecountry4.mp3</location>
<image>http://www.name.com/folder/picture.jpg</image>
<annotation>Text to be displayed</annotation>
</track>
<track>
<location>http://www.name.com/folder/song2.mp3</location>
<image>http://www.name.com/folder/picture2.jpg</image>
<annotation>Text to be displayed</annotation>
</track>
</trackList>
</playlist>

How to embed the player into a web page

Place the following code into your HTML file where you want your player to be located:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
width="400" height="168" >
<param name="allowScriptAccess" value="sameDomain"/>
<param name="movie" value="http://www.scientificjam.com/mp3s/xspf_player.swf"/>
<param name="quality" value="high"/>
<param name="bgcolor" value="#E6E6E6"/>
<embed src="http://www.scientificjam.com/mp3s/xspf_player.swf?playlist_url=playlist.xspf"
quality="high" bgcolor="#E6E6E6" name="xspf_player" allowscriptaccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
align="center" height="168" width="400"> </embed>
</object>

Note that - value="http://www.name.com/folder/xspf_player.swf" is the location of your player file.

Also, what you should be aware of here -
embed src="http://www.name.com/folder/xspf_player.swf?playlist_url=playlist.xspf" is the location of the ".xspf" playlist file.
Pay special attention to "playlist_url=playlist.xspf" part of this string, this is the explicit location of your playlist, and it could have been http://www.name.com/folder/playlist.xspf instead of playlist.xspf