]> matita.cs.unibo.it Git - helm.git/commitdiff
Some spaces at the content level eliminated.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 18 Dec 2000 17:55:53 +0000 (17:55 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Mon, 18 Dec 2000 17:55:53 +0000 (17:55 +0000)
helm/style/objcontent.xsl
helm/style/proofs.xsl

index 112e73ab1255103e94bd414c86b27a9cb31e7208..2e70505d07b56678f2c39c59aafe20df21fce07a 100644 (file)
       </xsl:otherwise>
      </xsl:choose> -->
      <body>
-      <xsl:apply-templates select="body"/>
+      <xsl:apply-templates select="body/*"/>
      </body>
      <type>
-       <xsl:apply-templates select="type"/>
+       <xsl:apply-templates select="type/*"/>
      </type>
     </Definition> 
 </xsl:template>
@@ -64,7 +64,7 @@
       </Params>
      </xsl:if>
      <type>
-       <xsl:apply-templates select="type"/>
+       <xsl:apply-templates select="type/*"/>
      </type>
     </Axiom> 
 </xsl:template>
       </Conjecture>
      </xsl:for-each>
      <body>
-       <xsl:apply-templates select="body"/>
+       <xsl:apply-templates select="body/*"/>
      </body>
      <type>
-       <xsl:apply-templates select="type"/>
+       <xsl:apply-templates select="type/*"/>
      </type>
     </CurrentProof> 
 </xsl:template>
 <xsl:template match="Variable" mode="noannot"> 
     <Variable name="{@name}" helm:xref="{@id}">
      <type>
-       <xsl:apply-templates select="type"/>
+       <xsl:apply-templates select="type/*"/>
      </type>
     </Variable> 
 </xsl:template>
index 781ae3e429746c8d3f6c2c3da28812a90043d44c..ba45ee0dc898c62d4ff58df40c748e2609dae572 100644 (file)
@@ -63,7 +63,7 @@
  attribute::uri='cic:/Coq/Zarith/auxiliary/eqT_ind_r.con'] and count(child::*) = 7">
      <m:apply helm:xref="{@id}">
       <m:csymbol>thread</m:csymbol>
-      <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
+      <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]/*"/>
       <m:apply>
        <m:csymbol>rw_step</m:csymbol>
        <xsl:apply-templates mode="pure" select="*[3]"/>
@@ -93,7 +93,7 @@
      <m:apply helm:xref="{@id}">
       <m:csymbol>or_ind</m:csymbol>
       <xsl:apply-templates mode="noannot" select="*[7]"/>
-      <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
+      <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]/*"/>
       <xsl:apply-templates mode="pure" select="*[5]"/>
       <xsl:apply-templates mode="pure" select="*[6]"/>
      </m:apply>
     <xsl:when test="count(*[@id = //InnerTypes/TYPE/@of]) = 1">
      <m:apply helm:xref="{@id}">
       <m:csymbol>thread</m:csymbol>
-      <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
+      <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]/*"/>
       <m:apply>
        <m:csymbol>app</m:csymbol>
        <xsl:apply-templates mode="copy-of-no-prop" select="*[1]"/>
       <m:csymbol>proof</m:csymbol>
       <xsl:apply-templates select="." mode="pure"/>
       <!-- <xsl:apply-templates select="key('typeid',@id)" mode="pure"/> -->
-      <xsl:apply-templates select="//InnerTypes/TYPE[@of=$id]" mode="pure"/>
+      <xsl:apply-templates select="//InnerTypes/TYPE[@of=$id]/*" mode="pure"/>
      </m:apply>
     </xsl:otherwise>
    </xsl:choose>
  attribute::uri='cic:/Coq/Init/Logic_Type/eqT_ind.con' or
  attribute::uri='cic:/Coq/Zarith/auxiliary/eqT_ind_r.con'] and count(child::*) = 7">
     <xsl:variable name="id" select="@id"/>
-     <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
+     <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]/*"/>
      <m:apply>
       <m:csymbol>rw_step</m:csymbol>
       <xsl:apply-templates mode="pure" select="*[3]"/>
        <xsl:variable name="id" select="@id"/>
        <m:apply helm:xref="{@id}">
         <m:csymbol>thread</m:csymbol>
-        <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]"/>
+        <xsl:apply-templates mode="pure" select="//InnerTypes/TYPE[@of=$id]/*"/>
         <m:apply>
          <m:csymbol>app</m:csymbol>
          <xsl:apply-templates mode="copy-of-no-prop" select="*[1]"/>