3 <!--***********************************************************************-->
4 <!-- XSLT version 0.1 of theory sections to HTML: -->
5 <!-- First draft: May 10 2000, Irene Schena -->
6 <!-- November 15 2000, Irene Schena -->
7 <!--***********************************************************************-->
9 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
10 xmlns:m="http://www.w3.org/1998/Math/MathML">
12 <xsl:import href="annotatedpres.xsl"/>
14 <xsl:template match="SECTION">
15 <xsl:param name="subsect" select="0"/>
17 <xsl:when test="$subsect = 0">
21 <m:math><m:mtext>BEGIN SECTION</m:mtext></m:math>
22 <xsl:apply-templates select="*"><xsl:with-param name="subsect" select="1"/></xsl:apply-templates>
23 <m:math><m:mtext>END SECTION</m:mtext></m:math>
28 <m:math><m:mtext>BEGIN SECTION</m:mtext></m:math>
29 <xsl:apply-templates select="*"><xsl:with-param name="subsect" select="1"/></xsl:apply-templates>
30 <m:math><m:mtext>END SECTION</m:mtext></m:math>