+<!-- SUM -->
+
+<xsl:template mode="inline" match="m:apply[m:sum]">
+ <xsl:variable name="uri">
+ <xsl:value-of select="m:sum/@definitionURL"/>
+ </xsl:variable>
+ <xsl:choose>
+ <xsl:when test="$uri != ''">
+ <a href="{$uri}">
+ <!--
+ <FONT FACE="symbol" color="'blue'">
+ <xsl:value-of select="'å'"/>
+ </FONT> -->
+ <xsl:call-template name="mksymbol-reals">
+ <xsl:with-param name="symbol" select="'sum'"/>
+ </xsl:call-template>
+ </a>
+ </xsl:when>
+ <xsl:otherwise>
+ <!--
+ <FONT FACE="symbol" color="'blue'">
+ <xsl:value-of select="'å'"/>
+ </FONT> -->
+ <xsl:call-template name="mksymbol-reals">
+ <xsl:with-param name="symbol" select="'sum'"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:choose>
+ <xsl:when test="m:condition">
+ <SUB>
+ <xsl:apply-templates select="m:condition"/>
+ </SUB>
+ </xsl:when>
+ <xsl:otherwise>
+ <SUB>
+ <xsl:apply-templates select="m:lowlimit/*[1]"/>
+ <xsl:call-template name="mksymbol-init">
+ <xsl:with-param name="symbol" select="'leq'"/>
+ </xsl:call-template>
+ <xsl:apply-templates select="m:bvar/*[1]"/>
+ <xsl:call-template name="mksymbol-init">
+ <xsl:with-param name="symbol" select="'leq'"/>
+ </xsl:call-template>
+ <xsl:apply-templates select="m:uplimit/*[1]"/>
+ </SUB>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:apply-templates mode="inline" select="*[position()=last()]"/>
+ </xsl:template>
+
+