xsl-list
[Top] [All Lists]

RE: string matching problem

2003-05-20 06:18:15
Hi,

 here is a sample condition
<xsl:if test="TValue = 'True'">
 then html
</xsl:if>

what to do if i dont know the value of TValue .. wether it is "True" ,
"true", "TRUE" or some thing else like that
i want case insensitive comparision.

<xsl:if test="translate(TValue, 'TRUE', 'true')  = 'true'">

Cheers,

Jarno - God Module: Companion

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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