]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/style/rootcontent.xsl
Explicit substitutions for metavariables introduced and DTD changed.
[helm.git] / helm / style / rootcontent.xsl
index 7ce78dde3854170f6702b30ea0a9f8d5bde50c8e..a2f82f59bcc5175a538bd2812a156507f2900194 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:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
+<!--******************************************************************-->
+<!-- Variable containing the absolute path of the CIC file            -->
+<!--******************************************************************-->
 
 <xsl:import href="annotatedcont.xsl"/>
-<xsl:key name="id" use="@id" match="LAMBDA|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="proofs.xsl"/>
+<xsl:import href="links_library.xsl"/>
+<xsl:import href="getter.xsl"/>
 
-<xsl:variable name="showproof" select="0"/>
-</xsl:stylesheet>
+<xsl:param name="getterURL" select="'http://localhost:8081/'"/>
+<xsl:param name="processorURL" select="'http://localhost:8080/helm/servlet/uwobo/'"/>
+<xsl:param name="naturalLanguage" select="'yes'"/>
+<xsl:param name="annotations" select="'no'"/>
+<xsl:param name="CICURI" select="''"/>
 
+<xsl:variable name="InnerTypesUri"><xsl:value-of select="concat($CICURI,'.types')"/></xsl:variable>
+<xsl:variable name="AnnotationsUri"><xsl:value-of select="concat($CICURI,'.ann')"/></xsl:variable>
 
+<!--CSC: Questa e' la versione originale che applica dc a quello che il getter
+ restituisce.
+<xsl:variable name="InnerTypesUrl"><xsl:call-template name="makeURL4InnerTypes"><xsl:with-param name="uri" select="$InnerTypesUri"/></xsl:call-template></xsl:variable>
+-->
+<!--CSC: Qui, invece, accediamo direttamente al disco e non applichiamo dc -->
+<xsl:variable name="InnerTypesUrl" select="'file:///public/sacerdot/innertypes'"/>
+<xsl:variable name="AnnotationsUrl"><xsl:call-template name="URLofURI4getter"><xsl:with-param name="uri" select="$AnnotationsUri"/></xsl:call-template></xsl:variable>
 
+<!-- WARNING: Using lazy evaluation: $CICURI.* may not exist, but -->
+<!-- document() is called only by need!!!                         -->
+<xsl:variable name="InnerTypes" select="document($InnerTypesUrl)"/> 
+<xsl:variable name="CICAnnotations" select="document($AnnotationsUrl)"/> 
+
+<xsl:include href="headercontent.xsl"/>
+<xsl:include href="proofs.xsl"/>
+<xsl:include href="inductive.xsl"/>
+
+<xsl:variable name="showproof" select="0"/>
+
+</xsl:stylesheet>