xsl-list
[Top] [All Lists]

[xsl] if statement

2006-08-16 04:34:15
<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>

Regards,

S.Vanaja

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>