I don't know much about DTDs and XSLT so please help me write one based on the format of this XML! :)
// Per Wigren
<?xml version="1.0" ?> <!-- This is a proposal to work out the ultimate fileformat for webradio stations -->
<freevo>
<webradio>
<station name="Spraydio Visby" type="music">
<module name="spraydio">
<param name="room">visby</param>
</module>
<info>
<desc lang="en">
Pop non-stop!
</desc>
<genre>Pop</genre>
<homepage>http://www.spraydio.com/web/visby/room.jsp</homepage>
<location>se</location>
</info>
<streams>
<stream codec="WMA" kbps="64" br="44100" ch="2">
<url type="media" href="mms://wms03.nordicwebradio.com/visby" />
</stream>
</streams>
</station>
<station name="NRK P1" location="no" type="generic">
<info>
<desc lang="en">
Norvegian family channel
</desc>
<genre>News</genre>
<genre>Music</genre>
<genre>Talk</genre>
<lang>no</lang>
<homepage>http://www.nrk.no/p1</homepage>
<location>no</location>
</info>
<streams>
<stream codec="MP3" kbps="128" br="44100" ch="2">
<url type="m3u" href="http://media.hiof.no/streams/m3u/nrk-p1-128.m3u" />
</stream>
<stream codec="WMA" kbps="48" br="32000" ch="2">
<url type="asx" href="http://www6.nrk.no/nettradio/nrk_p1_hoy.asx" />
</stream>
<stream codec="MP3" kbps="56" br="22050" ch="2">
<url type="m3u" href="http://media.hiof.no/streams/m3u/nrk-p1-56.m3u" />
<include>http://.*\.mp3</include>
<exclude>.*jingle.*</exclude>
</url>
</stream>
<stream codec="WMA" kbps="16" br="16000" ch="1">
<url type="asx" href="http://www6.nrk.no/nettradio/nrk_p1_lav.asx">
<exclude>.*/intro\.(wma|asf)</exclude>
<start>32</start>
</url>
</stream>
<stream codec="MP3" kbps="24" br="8000" ch="2">
<url type="m3u" href="http://media.hiof.no/streams/m3u/nrk-p1-24.m3u" />
</stream>
</streams>
</station>
<station name="Rant Radio" type="music">
<module name="shoutcast" />
<info>
<desc lang="en">
Canadian EBM channel. Broadcasting on the net since 1998.
</desc>
<desc lang="sv">
Kanadensisk EBM-kanal. S�nder p� n�tet sedan 1998.
</desc>
<genre>Electronic</genre>
<genre>Industrial</genre>
<genre>Dance</genre>
<genre>Politics</genre>
<lang>en</lang>
<homepage>http://www.rantradio.com</homepage>
<location>ca</location>
</info>
<streams>
<stream codec="MP3" kbps="128" br="44100" ch="2">
<url type="pls" href="http://www.rantradio.com/128kstreams.pls" />
</stream>
<stream codec="MP3" kbps="24" br="22050" ch="2">
<url type="pls" href="http://www.rantradio.com/24kstreams.pls" />
</stream>
</streams>
</station>
</webradio>
</freevo>
