[xsl] xsl if statement

Subject: [xsl] xsl if statement
From: "vanaja selvaraj" <ss.vanaja@xxxxxxxxx>
Date: Wed, 16 Aug 2006 17:08:10 +0530
Hello,

I want to match the text "&#x21C4;" only form the xml file like:

<root>
<child>&#x21C4;</child>
<child>&#x0029;</child>
</root>

Using if statement I have coded like below:

<xsl:template match="child">
<xsl:if test="'[child=&#x21C4]'">
<span style="color:red">
<xsl:apply-templates/>
</xsl:if>
</span>
</xsl:template>

But its not working please suggest how to capture this.

Regards,
S.Vanaja

Current Thread