| 129 | ==== Comment by roadrunner on Sat Sep 30 19:10:49 2006 ==== |
| 130 | You could probably (mis)use the wiki-toc css class for this (or |
| 131 | better: provide some css of your own) and use a stylesheet along |
| 132 | the lines of (untested): |
| 133 | {{{ |
| 134 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
| 135 | <xsl:output method="html"/> |
| 136 | |
| 137 | <xsl:template match="channel"> |
| 138 | <div class="wiki-toc"> |
| 139 | <h4><a href="{link}"><xsl:value-of select="title"/></a></h4> |
| 140 | <ol> |
| 141 | <xsl:apply-templates select="item"/> |
| 142 | </ol> |
| 143 | </div> |
| 144 | </xsl:template> |
| 145 | |
| 146 | <xsl:template match="item"> |
| 147 | <li> |
| 148 | <a href="{link}" title="{description}"><xsl:value-of select="title"/></a> |
| 149 | </li> |
| 150 | </xsl:template> |
| 151 | </xsl:stylesheet> |
| 152 | }}} |
| 153 | |
| 154 | |