6.1 Outline

<..span frac elements..>
 <script element="span::mfrac" >
   <set name="mfrac" >
      <.open xslt script.>
      <.frac templates.>
      <.close xslt script.>
   </set>
   <xslt name="." xml="." xsl="mfrac" />
 </script>
-_-_-

<..frac templates..>
 <xsl:template match="span[ @class = ’mfrac’ ]" >
   <xsl:copy>
     <xsl:choose>
        <.constant fracs.>
        <.prepend continuos fractions.>
        <.tail continuos fractions.>
        <xsl:otherwise>
          <xsl:apply-templates select="*|@*|text()|comment()" />
        </xsl:otherwise>
     </xsl:choose>
   </xsl:copy>
 </xsl:template>
-_-_-