+-->
+ <xsl:choose>
+ <!-- HELM: or the opposite test <xsl:when test="*[1]"> -->
+ <xsl:when test="child::text()">
+ <m:mi>
+ <xsl:call-template name="insert"/>
+ <xsl:apply-templates mode = "semantics"/>
+ </m:mi>
+ </xsl:when>
+ <xsl:otherwise>
+ <m:mrow>
+ <xsl:call-template name="insert"/>
+ <xsl:copy-of select="*"/>
+ </m:mrow>
+ </xsl:otherwise>
+ </xsl:choose>