]> matita.cs.unibo.it Git - helm.git/commitdiff
added support for application-time parameters
authorLuca Padovani <luca.padovani@unito.it>
Tue, 13 Feb 2001 13:47:41 +0000 (13:47 +0000)
committerLuca Padovani <luca.padovani@unito.it>
Tue, 13 Feb 2001 13:47:41 +0000 (13:47 +0000)
helm/style/rootcontent.xsl
helm/style/theory_content.xsl

index 0220168335e9fbcc29a9757234558bb1feb4a2b5..4f8a4f4b7072f700939703c1eadca20b3bef6826 100644 (file)
@@ -43,7 +43,9 @@
 <!-- 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:variable name="absPath"><xsl:value-of select="$getterURL"/>getciconly?uri=</xsl:variable>
 
 <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"/>
index 3129ca5dd19ecc5332e4fd5adab6a427dd713e55..b01fc6d1326610d54721a4746167e344c8635121 100644 (file)
@@ -37,7 +37,9 @@
 <!-- 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:variable name="absPath"><xsl:value-of select="$getterURL"/>getciconly?uri=</xsl:variable>
 
 <!-- THEORY -->