]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/style/content.xsl
Performance improvements using the sort attribute
[helm.git] / helm / style / content.xsl
index d36e0152aef666a62880876ec6f8b02d043dbaa1..e71ba3fe16d9a39dfb8528105d18713667170a7a 100644 (file)
@@ -116,7 +116,7 @@ Amaya o da chi di dovere in /really_very_local/helm/PARSER/example/.../]
       <m:csymbol>letin</m:csymbol>
       <!-- <xsl:for-each select="*[boolean(key('typeid',@id))]"> -->
       <!-- first process all subproofs (let-in) -->
-      <xsl:for-each select="*[@id = (//InnerTypes/TYPE/@of)]">
+      <xsl:for-each select="*[@sort='Prop' and (name(.)='LAMBDA' or name(.)='LETIN' or name(.)='APPLY' or name(.)='MUTCASE' or name(.)='FIX' or name(.)='COFIX')]">
        <m:apply>
         <m:csymbol>let</m:csymbol>
         <m:ci><xsl:call-template name="insert_subscript"><xsl:with-param name="node_value"><xsl:value-of select="concat('h',position())"/></xsl:with-param></xsl:call-template></m:ci>