</xsl:otherwise>
</xsl:choose>
</xsl:when>
+ <!-- INST -->
+ <xsl:when test="$name='inst'">
+ <m:mrow>
+ <xsl:if test="@definitionURL">
+ <xsl:attribute name="helm:xref" value="{@helm:xref}"/>
+ </xsl:if>
+ <xsl:apply-templates select="*[2]"/>
+ <m:mo stretchy="false">{</m:mo>
+ <xsl:for-each select="*[(position()>2) and (position() mod 2 = 1)]">
+ <xsl:if test="name()='m:ci'">
+ <a href="{@definitionURL}">
+ <xsl:apply-templates/>
+ </a>
+ </xsl:if>
+ <m:mo stretchy="false">:=</m:mo>
+ <xsl:apply-templates select="following-sibling::*[position() = 1]"/>
+ </xsl:for-each>
+ <m:mo stretchy="false">}</m:mo>
+ </m:mrow>
+ </xsl:when>
<!-- ***************************************** -->
<!-- *********** PROOF ELEMENTS ************** -->
<!-- ***************************************** -->
<!-- ERROR -->
<xsl:otherwise>
- <m:mi>ERROR</m:mi>
+ <m:mi>ERROR("<xsl:value-of select="$name"/>")</m:mi>
</xsl:otherwise>
</xsl:choose>
</m:mrow>