</xsl:choose>
</xsl:for-each>
</xsl:when>
+ <!-- proof -->
<xsl:when test="$name='proof'">
<xsl:apply-templates mode="inline" select="*[position()=2]"/>
- <FONT color="red">we proved</FONT>
+ <FONT color="red"> proves </FONT>
<xsl:apply-templates mode="inline" select="*[position()=3]"/>
</xsl:when>
+ <!-- and_ind -->
+ <xsl:when test="$name='and_ind'">
+ <FONT color="red">From </FONT>
+ <xsl:apply-templates select="*[2]"/>
+ <FONT color="red"> we get</FONT>
+ <m:mtext>(</m:mtext>
+ <xsl:apply-templates select="*[3]"/>
+ <m:mtext>) </m:mtext>
+ <xsl:apply-templates mode="inline" select="*[4]"/>
+ <FONT color="red"> and </FONT>
+ <m:mtext>(</m:mtext>
+ <xsl:apply-templates select="*[5]"/>
+ <m:mtext>) </m:mtext>
+ <xsl:apply-templates mode="inline" select="*[6]"/>
+ <m:mtext>;</m:mtext>
+ <FONT color="red"> hence </FONT>
+ <xsl:apply-templates mode="inline" select="*[7]"/>
+ </xsl:when>
</xsl:choose>
</xsl:template>
</xsl:when>
<!-- EQUALITY -->
<xsl:when test="name()= 'APPLY' and CONST[
+ attribute::uri='cic:/Coq/Init/Logic/Equality/eq_ind.con' or
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">
<m:apply>
<!--******************************************************************-->
<xsl:param name="getterURL" select="'http://localhost:8081/'"/>
+<xsl:param name="processorURL" select="'http://localhost:8080/helm/servlet/uwobo/'"/>
<xsl:variable name="absPath"><xsl:value-of select="$getterURL"/>getciconly?uri=</xsl:variable>
+<xsl:variable name="header"><xsl:value-of select="$processorURL"/>/apply?key=C1&key=HC2&param.getterURL=<xsl:value-of select="$getterURL"/>&param.processorURL=<xsl:value-of select="$processorURL"/>&xmluri=<xsl:value-of select="$absPath"/></xsl:variable>
+
<!-- THEORY -->
<xsl:template match="Theory">
<!-- THEORY ELEMENTS -->
+<!--
+<xsl:template match="DEFINITION">
+ <xsl:copy-of select="document(concat(string($header),string(@definitionURL)))"/>
+</xsl:template>
+-->
+
<xsl:template match="DEFINITION">
<xsl:param name="current_uri"/>
<xsl:apply-templates select="document(concat(string($absPath),string($current_uri),"/",string(@uri)))"/>