]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/style/rootcontent.xsl
The .types files are now read directly by the stylesheets.
[helm.git] / helm / style / rootcontent.xsl
index 0220168335e9fbcc29a9757234558bb1feb4a2b5..e4bccecea65b0ee6b31b92c1f1ca1055dbef765a 100644 (file)
 <!-- Variable containing the absolute path of the CIC file            -->
 <!--******************************************************************-->
 
-<xsl:variable name="absPath">http://localhost:8081/getciconly?uri=</xsl:variable>
+<xsl:param name="getterURL" select="'http://localhost:8081/'"/>
+<xsl:param name="naturalLanguage" select="'yes'"/>
+<xsl:param name="CICURI" select="''"/>
+
+<xsl:variable name="absPath"><xsl:value-of select="$getterURL"/>getciconly?uri=</xsl:variable>
+
+<!-- WARNING: Using lazy evaluation: $CICURI.types may not exist, but -->
+<!-- document() is called only by need!!!                             -->
+<xsl:variable name="InnerTypes" select="document(concat($absPath,$CICURI,'.types'))"/>
 
 <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"/>