</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>
attribute::uri='cic:/Coq/Zarith/auxiliary/eqT_ind_r.con'] and count(child::*) = 7">
<m:apply helm:xref="{@id}">
<m:csymbol>thread</m:csymbol>
- <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
+ <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]/*"/>
<m:apply>
<m:csymbol>rw_step</m:csymbol>
<xsl:apply-templates mode="pure" select="*[3]"/>
<m:apply helm:xref="{@id}">
<m:csymbol>or_ind</m:csymbol>
<xsl:apply-templates mode="noannot" select="*[7]"/>
- <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
+ <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]/*"/>
<xsl:apply-templates mode="pure" select="*[5]"/>
<xsl:apply-templates mode="pure" select="*[6]"/>
</m:apply>
<xsl:when test="count(*[@id = //InnerTypes/TYPE/@of]) = 1">
<m:apply helm:xref="{@id}">
<m:csymbol>thread</m:csymbol>
- <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
+ <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]/*"/>
<m:apply>
<m:csymbol>app</m:csymbol>
<xsl:apply-templates mode="copy-of-no-prop" select="*[1]"/>
<m:csymbol>proof</m:csymbol>
<xsl:apply-templates select="." mode="pure"/>
<!-- <xsl:apply-templates select="key('typeid',@id)" mode="pure"/> -->
- <xsl:apply-templates select="//InnerTypes/TYPE[@of=$id]" mode="pure"/>
+ <xsl:apply-templates select="//InnerTypes/TYPE[@of=$id]/*" mode="pure"/>
</m:apply>
</xsl:otherwise>
</xsl:choose>
attribute::uri='cic:/Coq/Init/Logic_Type/eqT_ind.con' or
attribute::uri='cic:/Coq/Zarith/auxiliary/eqT_ind_r.con'] and count(child::*) = 7">
<xsl:variable name="id" select="@id"/>
- <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
+ <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]/*"/>
<m:apply>
<m:csymbol>rw_step</m:csymbol>
<xsl:apply-templates mode="pure" select="*[3]"/>
<xsl:variable name="id" select="@id"/>
<m:apply helm:xref="{@id}">
<m:csymbol>thread</m:csymbol>
- <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
+ <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]/*"/>
<m:apply>
<m:csymbol>app</m:csymbol>
<xsl:apply-templates mode="copy-of-no-prop" select="*[1]"/>