]> matita.cs.unibo.it Git - helm.git/commitdiff
Some bug fixed
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 22 Nov 2000 12:01:37 +0000 (12:01 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 22 Nov 2000 12:01:37 +0000 (12:01 +0000)
helm/style/mml2mmlv1_0.xsl

index 330da7a24d6e6806e353ed10840b27f4ce6fc603..fd36e25132701af08b6eb6ce7eb788a49287f5e1 100644 (file)
       <m:mi fontweight="bold"> <xsl:apply-templates mode = "semantics"/> </m:mi>
     </xsl:when>
     <xsl:otherwise>
+<!-- <CSC> Originale:
      <m:mi> 
       <xsl:call-template name="insert"/>
       <xsl:apply-templates mode = "semantics"/> 
      </m:mi>
+</CSC> -->
+<!-- <CSC> Modificato: -->
+ <xsl:choose>
+  <xsl:when test="child::text()">
+   <m:mi> 
+    <xsl:call-template name="insert"/>
+    <xsl:apply-templates mode = "semantics"/> 
+   </m:mi>
+  </xsl:when>
+  <xsl:otherwise>
+   <xsl:copy-of select="*"/> 
+  </xsl:otherwise>
+ </xsl:choose>
+<!-- </CSC> -->
     </xsl:otherwise>
   </xsl:choose>
 </xsl:template>