</div>
</xsl:template>
+<xsl:template match="ld:index">
+ <table><xsl:apply-templates/></table>
+</xsl:template>
+
+<xsl:template match="ld:file">
+ <tr class="{@class}">
+ <td class="center"><xsl:value-of select="@type"/></td>
+ <td><a href="{$baseurl}{@to}">
+ <xsl:value-of select="@name"/>
+ </a></td>
+ </tr>
+</xsl:template>
+
<xsl:template match="ld:link">
<a href="{@to}">
<xsl:apply-templates/>
<li class="{@class}"><xsl:apply-templates/></li>
</xsl:template>
+<xsl:template match="ld:line">
+ <div class="{@class}">
+ <xsl:choose>
+ <xsl:when test="@of"><xsl:value-of select="@of"/></xsl:when>
+ <xsl:otherwise><xsl:apply-templates/></xsl:otherwise>
+ </xsl:choose>
+ </div>
+</xsl:template>
+
<xsl:template match="ld:style">
- <span class="{@class}">
- <xsl:choose>
- <xsl:when test="@of"><xsl:value-of select="@of"/></xsl:when>
- <xsl:otherwise><xsl:apply-templates/></xsl:otherwise>
- </xsl:choose>
- </span>
+ <span class="{@class}">
+ <xsl:choose>
+ <xsl:when test="@title">
+ <xsl:attribute name="title"><xsl:value-of select="@title"/></xsl:attribute>
+ </xsl:when>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="@of"><xsl:value-of select="@of"/></xsl:when>
+ <xsl:otherwise><xsl:apply-templates/></xsl:otherwise>
+ </xsl:choose>
+ </span>
</xsl:template>
<xsl:template match="ld:notice">