]> matita.cs.unibo.it Git - helm.git/commitdiff
Modified Files:
authorIrene Schena <irene.schena@unibo.it>
Fri, 27 Jul 2001 10:06:04 +0000 (10:06 +0000)
committerIrene Schena <irene.schena@unibo.it>
Fri, 27 Jul 2001 10:06:04 +0000 (10:06 +0000)
1) mmlextension.xsl: m:xref fixed

helm/style/mmlextension.xsl

index c33176a71062d927c20066ff999082773f5fe26c..75c8a745be217d541858131a263a29824fa8f94d 100644 (file)
@@ -1712,7 +1712,12 @@ which generates the toplevel element (see for instance xlink) -->
 
 <xsl:template match="m:lambda">
     <xsl:variable name="charlength"><xsl:apply-templates select="*[position()=1]" mode="charcount"/></xsl:variable>
-    <m:mrow m:xref="{@id}">
+    <m:mrow>
+     <xsl:if test="@id">
+      <xsl:attribute name="m:xref">
+       <xsl:value-of select="@id"/>
+      </xsl:attribute>
+     </xsl:if>
      <xsl:choose>
      <xsl:when test="$charlength >= $framewidth">
       <m:mtable align="baseline 1" equalrows="false" columnalign="left">