<div class="toc-section" id="{$id}">
<img src="{$graphics.dir}/{$minus.image}" alt="-"/>
<a href="{$thissection}" target="foil">
- <xsl:apply-templates select="title" mode="toc"/>
+ <xsl:choose>
+ <xsl:when test="titleabbrev">
+ <xsl:apply-templates select="titleabbrev" mode="toc"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="title" mode="toc"/>
+ </xsl:otherwise>
+ </xsl:choose>
</a>
<xsl:apply-templates select="foil" mode="toc"/>
</div>
<div id="{$id}" class="toc-foil">
<img src="{$graphics.dir}/{$bullet.image}" alt="-"/>
<a href="{$foil}" target="foil">
- <xsl:apply-templates select="title" mode="toc"/>
+ <xsl:choose>
+ <xsl:when test="titleabbrev">
+ <xsl:apply-templates select="titleabbrev" mode="toc"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="title" mode="toc"/>
+ </xsl:otherwise>
+ </xsl:choose>
</a>
</div>
</xsl:template>
<xsl:apply-templates mode="toc"/>
</xsl:template>
+<xsl:template match="speakernotes" mode="toc">
+ <!-- nop -->
+</xsl:template>
+
<!-- ============================================================ -->
<xsl:template match="slidesinfo" mode="ns-toc">
<xsl:text>'); </xsl:text>
</xsl:template>
+<xsl:template match="speakernotes" mode="ns-toc">
+ <!-- nop -->
+</xsl:template>
+
<!-- ============================================================ -->
</xsl:stylesheet>