xsl-list
[Top] [All Lists]

Re: string matching problem

2003-05-20 22:07:14
On Tue, 15 Oct 2002, asim wrote:

AOA All
 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.

You could translate all letters to "true" or "TRUE" and try the testing
then.

Cheers,
Jarkko


Plz Help
waiting 4 reply
Qazi Asim


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




****************************************************************
Jarkko Moilanen          "Erehtyminen on inhimillista,
Researcher                mutta todella suuret mokat
jm60697(_at_)uta(_dot_)fi            vaativat tietokoneen käyttöä."
www.uta.fi/~jm60697
GSM: +358 50 3766 927
****************************************************************
* ITCM | Information Technology and Crisis Management
* http://www.itcm.org
****************************************************************






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



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