<xsl:template match="child">
<xsl:if test="'[child=⇄]'">
try:
<xsl:if test=".=⇄">
first remove apostroph.
second you already matched child element. use only dot.
You caught two of his errors but missed the third. It should be
<xsl:if test=".='⇄'">
Personally, I would write
<xsl:template match="child[.='⇄']">
<span style="color:red">
<xsl:apply-templates/>
</span>
</xsl:template>
<xsl:template match="child"/>
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--