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>
12 <xsl:for-each select=
"Item">
14 <xsl:when test=
"Details/ContentType = 'x-container/folder'">
15 <tr bgcolor=
"#bbbbbb">
16 <td><a><xsl:attribute name=
"href"><xsl:value-of select=
"Links/Content/Url"/></xsl:attribute><xsl:value-of select=
"Details/Title"/></a></td>
17 <td><xsl:value-of select=
"Details/TotalItems"/></td>
22 <td><xsl:value-of select=
"Details/Title"/></td>
23 <td><form action=
"/TiVoConnect">
24 <input type=
"hidden" name=
"Command" value=
"Push"/>
25 <input type=
"hidden" name=
"Container">
26 <xsl:attribute name=
"value">
27 <xsl:value-of select=
"Links/Push/Container"/>
30 <input type=
"hidden" name=
"File">
31 <xsl:attribute name=
"value">
32 <xsl:value-of select=
"Links/Push/File"/>
37 <xsl:for-each select=
"/TiVoContainer/Tivos/Tivo">
39 <xsl:attribute name=
"value">
40 <xsl:value-of select=
"."/>
42 <xsl:value-of select=
"."/>
46 <input value=
"Send to TiVo" type=
"submit"/>