]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/style/rootcontent.xsl
Complete management of inductive types.
[helm.git] / helm / style / rootcontent.xsl
index 4f8a4f4b7072f700939703c1eadca20b3bef6826..8f34bae075c00bfbbc734fc58c4aa4b59de8a453 100644 (file)
@@ -27,7 +27,7 @@
 <!--***********************************************************************--> 
 <!-- XSLT version 0.1 of the stylesheet to accomplish the right inclusion  -->
 <!-- of the content stylesheets:                                           -->
-<!-- First draft: May 26 2000, Claudio Sacerdoti Coen, Irene Schena        -->
+<!-- First draft: May 26 2000, C.Sacerdoti Coen, I.Schena, F.Guidi         -->
 <!--***********************************************************************-->
 
 <!-- Schema of stylesheet precedences (from highest to lowest):          -->
 <!--******************************************************************-->
 
 <xsl:param name="getterURL" select="'http://localhost:8081/'"/>
+<xsl:param name="naturalLanguage" select="'yes'"/>
+<xsl:param name="annotations" select="'no'"/>
+<xsl:param name="CICURI" select="''"/>
 
-<xsl:variable name="absPath"><xsl:value-of select="$getterURL"/>getciconly?uri=</xsl:variable>
+<xsl:variable name="absPath"><xsl:value-of select="$getterURL"/>getxml?uri=</xsl:variable>
+
+<!-- WARNING: Using lazy evaluation: $CICURI.* may not exist, but -->
+<!-- document() is called only by need!!!                         -->
+<xsl:variable name="InnerTypes" select="document(concat($absPath,$CICURI,'.types'))"/>
+<xsl:variable name="CICAnnotations" select="document(concat($absPath,$CICURI,'.ann'))"/>
 
 <xsl:import href="annotatedcont.xsl"/>
-<xsl:key name="id" use="@id" match="LAMBDA|LETIN|PROD|CAST|REL|SORT|APPLY|VAR|META|CONST|MUTIND|MUTCONSTRUCT|MUTCASE|FIX|COFIX|Definition|Axiom|CurrentProof|InductiveDefinition|Variable"/>
-<xsl:include href="basic.xsl"/>
-<xsl:include href="set.xsl"/>
-<xsl:include href="reals.xsl"/>
+<xsl:include href="headercontent.xsl"/>
 <xsl:include href="proofs.xsl"/>
+<xsl:include href="inductive.xsl"/>
 
 <xsl:variable name="showproof" select="0"/>
-</xsl:stylesheet>
-
-
 
+</xsl:stylesheet>