<xsl:template match="*" mode="content" >
<xsl:choose>
<xsl:when test=" @class = ’char’ " >
<xsl:if test="not( child::*[
(@class = ’ch 2032’) or (@class = ’ch 2033’)
or (@class = ’ch 2034’)
] )">
<xsl:text>x</xsl:text>
</xsl:if>
</xsl:when>
<xsl:when test=" not(
(@title = ’speech-extra’) or (@class = ’accent-char’)
) " >
<xsl:apply-templates select="*|text()" mode="content" />
</xsl:when>
</xsl:choose>
</xsl:template>
-_-_-