</xsl:otherwise>
</xsl:choose> -->
<body>
- <xsl:apply-templates select="body"/>
+ <xsl:apply-templates select="body/*"/>
</body>
<type>
- <xsl:apply-templates select="type"/>
+ <xsl:apply-templates select="type/*"/>
</type>
</Definition>
</xsl:template>
</Params>
</xsl:if>
<type>
- <xsl:apply-templates select="type"/>
+ <xsl:apply-templates select="type/*"/>
</type>
</Axiom>
</xsl:template>
</Conjecture>
</xsl:for-each>
<body>
- <xsl:apply-templates select="body"/>
+ <xsl:apply-templates select="body/*"/>
</body>
<type>
- <xsl:apply-templates select="type"/>
+ <xsl:apply-templates select="type/*"/>
</type>
</CurrentProof>
</xsl:template>
<xsl:template match="Variable" mode="noannot">
<Variable name="{@name}" helm:xref="{@id}">
<type>
- <xsl:apply-templates select="type"/>
+ <xsl:apply-templates select="type/*"/>
</type>
</Variable>
</xsl:template>
<xsl:choose>
<xsl:when test="string($binder) = "LAMBDA"">
<m:ci>
- <xsl:value-of select="target/@binder"/>
+ <xsl:call-template name="insert_subscript"><xsl:with-param name="node_value"><xsl:value-of select="target/@binder"/></xsl:with-param></xsl:call-template>
</m:ci>
</xsl:when>
<xsl:otherwise>
<xsl:param name="noleft" select="0"/>
<xsl:param name="number" select="1"/>
<xsl:if test="$noleft != 0">
- <m:ci>$<xsl:value-of select="$number"/></m:ci>
+ <m:ci><xsl:call-template name="insert_subscript"><xsl:with-param name="node_value">$<xsl:value-of select="$number"/></xsl:with-param></xsl:call-template></m:ci>
<xsl:call-template name="printparam"><xsl:with-param name="noleft" select="$noleft - 1"/><xsl:with-param name="number" select="$number + 1"/></xsl:call-template>
</xsl:if>
</xsl:template>