<xsl:template mode="inline" match="m:set">
<xsl:variable name="uri" select="@definitionURL"/>
-<!-- <xsl:value-of select="concat(string($absPath), @definitionURL)"/>
- </xsl:variable>-->
<xsl:choose>
<xsl:when test="count(child::*) = 0">
<xsl:call-template name="mksymbol">
<xsl:template mode="inline" match="m:apply[m:in|m:notin|m:intersect|m:union
|m:subset|m:prsubset|m:setdiff]">
- <xsl:variable name="uri">
- <xsl:value-of select="*[1]/@definitionURL"/>
- </xsl:variable>
+ <xsl:variable name="uri"><xsl:value-of select="*[1]/@definitionURL"/></xsl:variable>
<xsl:variable name="symbol">
<xsl:choose>
<xsl:when test="m:in">
</xsl:variable>
<xsl:text>(</xsl:text>
<xsl:apply-templates mode="inline" select="*[2]"/>
- <a href="{$uri}">
- <xsl:call-template name="mksymbol">
- <xsl:with-param name="symbol">
- <xsl:value-of select="local-name(*[1])"/>
- </xsl:with-param>
- </xsl:call-template>
- </a>
+ <xsl:choose>
+ <xsl:when test="$uri != ''">
+ <a href="{$uri}">
+ <xsl:call-template name="mksymbol">
+ <xsl:with-param name="symbol">
+ <xsl:value-of select="local-name(*[1])"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </a>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="mksymbol">
+ <xsl:with-param name="symbol">
+ <xsl:value-of select="local-name(*[1])"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
<xsl:apply-templates mode="inline" select="*[3]"/>
<xsl:text>)</xsl:text>
</xsl:template>
|m:subset|m:prsubset|m:setdiff]">
<xsl:param name="current_indent" select="0"/>
<xsl:param name="width" select="$framewidth"/>
- <xsl:variable name="uri">
- <xsl:value-of select="*[1]/@definitionURL"/>
- </xsl:variable>
+ <xsl:variable name="uri"><xsl:value-of select="*[1]/@definitionURL"/></xsl:variable>
<xsl:variable name="charlength">
<xsl:apply-templates select="*[1]" mode="charcount"/>
</xsl:variable>
<xsl:call-template name="make_indent">
<xsl:with-param name="current_indent" select="$current_indent + 2"/>
</xsl:call-template>
- <a href="{$uri}">
- <xsl:call-template name="mksymbol">
- <xsl:with-param name="symbol">
- <xsl:value-of select="local-name(*[1])"/>
- </xsl:with-param>
- </xsl:call-template>
- </a>
+ <xsl:choose>
+ <xsl:when test="$uri != ''">
+ <a href="{$uri}">
+ <xsl:call-template name="mksymbol">
+ <xsl:with-param name="symbol">
+ <xsl:value-of select="local-name(*[1])"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </a>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="mksymbol">
+ <xsl:with-param name="symbol">
+ <xsl:value-of select="local-name(*[1])"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
<xsl:apply-templates select="*[3]">
<xsl:with-param name="current_indent" select="$current_indent + 2"/>
</xsl:apply-templates>
<xsl:param name="current_indent" select="0"/>
<xsl:param name="width" select="$framewidth"/>
<xsl:variable name="uri" select="@definitionURL"/>
-<!-- <xsl:value-of select="concat(string($absPath), @definitionURL)"/>
- </xsl:variable>-->
<xsl:choose>
<xsl:when test="count(child::*) = 0">
<xsl:call-template name="mksymbol">
</xsl:template>
</xsl:stylesheet>
-
-
-
-
-
-
-