8.1 Outline

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

<..frac templates..>
 <xsl:template match="mfrac" >
   <xsl:copy>
     <xsl:choose>
        <.word fracs.>
        <.prepend continued fractions.>
        <.tail continued fractions.>
        <xsl:otherwise>
          <xsl:apply-templates select="*|@*|text()|comment()" />
        </xsl:otherwise>
     </xsl:choose>
   </xsl:copy>
 </xsl:template>
-_-_-