1 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
2 <xsl:template match="TiVoContainer">
3 <xsl:variable name="tivos" select="Tivos"/>
6 <h2><xsl:value-of select="Details/Title"/></h2>
9 <th align="left">Title</th>
10 <th align="left"></th>
11 <th align="left"></th>
12 <th align="left"></th>
14 <xsl:for-each select="Item">
16 <xsl:when test="Details/ContentType = 'x-container/folder'">
17 <tr bgcolor="#bbbbbb">
18 <td><a><xsl:attribute name="href"><xsl:value-of select="Links/Content/Url"/></xsl:attribute><xsl:value-of select="Details/Title"/></a></td>
19 <td><xsl:value-of select="Details/TotalItems"/> Items</td>
24 <td><a><xsl:attribute name="href"><xsl:value-of select="Links/Watch"/></xsl:attribute><xsl:value-of select="Details/Title"/></a></td>
25 <td><form action="/TiVoConnect">
26 <input type="hidden" name="Command" value="Push"/>
27 <input type="hidden" name="Container">
28 <xsl:attribute name="value">
29 <xsl:value-of select="Links/Push/Container"/>
32 <input type="hidden" name="id">
33 <xsl:attribute name="value">
34 <xsl:value-of select="Links/Push/id"/>
39 <xsl:for-each select="/TiVoContainer/Tivos/Tivo">
41 <xsl:attribute name="value">
42 <xsl:value-of select="."/>
44 <xsl:value-of select="."/>
48 <input value="Send to TiVo" type="submit"/>
50 <td><a><xsl:attribute name="href"><xsl:value-of select="Links/Content/Url"/></xsl:attribute>Download</a></td>
51 <td><a><xsl:attribute name="href"><xsl:value-of select="Links/TiVoVideoDetails/Url"/></xsl:attribute>Details</a></td>