]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/style/rootcontent.xsl
Annotations now working again (even if in a bit trickier way).
[helm.git] / helm / style / rootcontent.xsl
index e4bccecea65b0ee6b31b92c1f1ca1055dbef765a..34a97ab2db0cbb655823685c2c7bafc5be2ff702 100644 (file)
 
 <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>
 
-<!-- WARNING: Using lazy evaluation: $CICURI.types may not exist, but -->
-<!-- document() is called only by need!!!                             -->
+<!-- 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="proofs.xsl"/>
 
 <xsl:variable name="showproof" select="0"/>
-</xsl:stylesheet>
-
-
 
+</xsl:stylesheet>