1 <xsl:stylesheet version=
"1.0" xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform">
2 <xsl:output method=
"html" encoding=
"utf-8"/>
3 <xsl:template match=
"TiVoContainer">
4 <xsl:variable name=
"tivos" select=
"Tivos"/>
6 <body style=
"background-color: rgb(250, 250, 250);">
7 <form action=
"/TiVoConnect" method=
"POST">
8 <p align=
"center"><font size=
"6">
9 <xsl:value-of select=
"Details/Title"/>
11 <table style=
"border: 1px solid rgb(220, 220, 220);background-color:
12 rgb(255, 255, 255);text-align: left;" border=
"0" cellpadding=
"0"
13 cellspacing=
"4" width=
"100%">
14 <xsl:for-each select=
"Item">
16 <xsl:if test=
"position() mod 2 = 1">
17 <xsl:attribute name=
"style">
18 <xsl:value-of select=
"'background-color: rgb(240, 240, 240);'"/>
22 <xsl:when test=
"Details/ContentType = 'x-container/folder'">
26 <xsl:attribute name=
"href">
27 <xsl:value-of select=
"Links/Content/Url"/>
29 <xsl:value-of select=
"Details/Title"/>
32 <td><xsl:value-of select=
"Details/TotalItems"/> Items
</td>
36 <input type=
"checkbox" name=
"File">
37 <xsl:attribute name=
"value">
38 <xsl:value-of select=
"Links/Push/File"/>
44 <xsl:value-of select=
"Details/Title"/>
45 <xsl:if test=
"Details/EpisodeTitle != ''">
46 <xsl:if test=
"Details/EpisodeTitle != Details/Title">
47 :
<xsl:value-of select=
"Details/EpisodeTitle"/>
51 <xsl:if test=
"Details/Description != ''">
53 <small><xsl:value-of select=
"Details/Description"/></small>
63 <input type=
"hidden" name=
"Command" value=
"Push"/>
64 <input type=
"hidden" name=
"Container">
65 <xsl:attribute name=
"value">
66 <xsl:value-of select=
"/TiVoContainer/Details/Title"/>
70 <xsl:for-each select=
"/TiVoContainer/Tivos/Tivo">
72 <xsl:attribute name=
"value">
73 <xsl:value-of select=
"."/>
75 <xsl:value-of select=
"."/>
79 <input value=
"Send to TiVo" type=
"submit"/>