TVDB: better handling of first run
[nonametv.git] / examples / channels.xsl
blob1f55b5db6fc6590d5e3ec9cb8bc55ce783c62ebf
1 <?xml version="1.0"?>
2 <xsl:stylesheet
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 version="1.0">
5 <xsl:template match="tv">
6 <select name="channel">
7 <xsl:apply-templates/>
8 </select>
9 </xsl:template>
10 <xsl:template match="channel">
11 <option>
12 <xsl:attribute name="value">
13 <xsl:value-of select="@id"/>
14 </xsl:attribute>
15 <xsl:value-of select="display-name/text()"/>
16 </option>
17 </xsl:template>
18 </xsl:stylesheet>