<xsl:template match="*" mode="degree" >
<xsl:copy>
<xsl:apply-templates select="@*" />
<xsl:choose>
<xsl:when test="self::span[ @class=’ch 2218’ ]" >
<xsl:text>degree</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates
select="*[not(self::BREAK)]|text()"
mode="degree"/>
</xsl:otherwise>
</xsl:choose>
</xsl:copy>
</xsl:template>
-_-_-