1 <?xml version="1.0" encoding="utf-8"?>
2 <xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns="http://www.w3.org/1999/xhtml">
5 <xsl:template match="ListOfItems">
8 <meta name="viewport" content="width=device-width, initial-scale=1"/>
11 <xsl:for-each select="Item[ItemType='Previous']">
14 <xsl:attribute name="href">
15 <xsl:value-of select="UrlPrevious"/>
17 <xsl:text>< back</xsl:text>
22 <xsl:if test="NoCache">
23 <p>Caching disabled by <tt>NoCache</tt></p>
26 <xsl:if test="Item[ItemType='Message']">
28 <xsl:for-each select="Item[ItemType='Message']">
30 <xsl:value-of select="Message"/>
35 <pre style="border: 1px solid black">
37 <xsl:for-each select="Item">
38 <xsl:if test="ItemType='Display'">
39 <xsl:text>[d] </xsl:text>
40 <xsl:value-of select="Display"/><xsl:text>
44 <xsl:if test="ItemType='Dir'">
45 <xsl:text>[D] </xsl:text>
47 <xsl:attribute name="href">
48 <xsl:value-of select="UrlDir"/>
50 <xsl:value-of select="Title"/>
56 <xsl:if test="ItemType='ShowOnDemand'">
57 <xsl:text>[S] </xsl:text>
59 <xsl:attribute name="href">
60 <xsl:value-of select="ShowOnDemandURL"/>
62 <xsl:value-of select="ShowOnDemandName"/>
68 <xsl:if test="ItemType='ShowEpisode'">
69 <xsl:text>[E] </xsl:text>
71 <xsl:attribute name="href">
72 <xsl:value-of select="ShowEpisodeURL"/>
74 <xsl:value-of select="ShowEpisodeName"/>
83 <xsl:if test="Item[ItemType='ShowEpisode']">
84 <h2>Show episodes</h2>
85 <xsl:for-each select="Item[ItemType='ShowEpisode']">
88 <xsl:attribute name="href">
89 <xsl:value-of select="ShowEpisodeURL"/>
91 <xsl:value-of select="ShowEpisodeName"/>
95 <xsl:value-of select="ShowDesc"/>
96 (<xsl:value-of select="ShowMime"/>)
101 <xsl:if test="Item[ItemType='Station']">
102 <h2>Internet radio stations</h2>
103 <xsl:for-each select="Item[ItemType='Station']">
105 #<xsl:value-of select="StationId"/>:
107 <xsl:attribute name="href">
108 <xsl:value-of select="StationUrl"/>
110 <xsl:value-of select="StationName"/>
114 <xsl:value-of select="StationDesc"/>
115 (<xsl:value-of select="ShowMime"/>)