PDA

View Full Version : XML playlist creation



lancecb
01-06-2009, 06:45 AM
Hey Guys & Gals,
I am really having a time trying to create my xml playlist to play multiple videos in the same JW video player. My code is as follows:

<?xml version='1.0' encoding='UTF-8'?>
<playlist version='1' xmlns='http://xspf.org/ns/0/'>
<trackList>
<track>
<title>Taylor v 7 Lakes Q1</title>
<location>http://www.ehsnkaty.net/Seven Lakes Videos/Football/Taylor vs Seven Lakes 11-8-2008 Q1.flv</location>
<identifier>production/4410271-1acb045411c83a84-flv</identifier>
</track>
<track>
<title>Taylor v 7 Lakes Q2</title>
<location>http://www.ehsnkaty.net/Seven Lakes Videos/Football/Taylor vs Seven Lakes 11-8-2008 Q2.flv</location>
<identifier>production/4400391-d5c0ce5c5c189f86-flv</identifier>
</track>
<track>
<title>Taylor v 7 Lakes Q4</title>
<location>http://www.ehsnkaty.net/Seven Lakes Videos/Football/Taylor vs Seven Lakes 11-8-2008 Q3.flv/location>
<identifier>production/4400371-bd6cda9411e228ca-flv</identifier>
</track>
<track>
<title>Taylor v 7 Lakes Q4</title>
<location>http://www.ehsnkaty.net/Seven Lakes Videos/Football/Taylor vs Seven Lakes 11-8-2008 Q4.flv</location>
</track>
</trackList>
</playlist>

However, I am getting an error indicating that the file is not a valid xml file. Can anyone help with both my code and the creation of the file?
_____________________
lancecb