Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - RE: Compare two strings Compare two stringsTo: NULL Date: 9/11/2007 11:09:00 PM I was trying to compare two strings. one is a parameter from a template function. I am putting that in a variable say $param1 and comparing it like this <xsl:if test="$param1='CompanyNamy'"> //Do something. </xsl:if> Let me know if this correct. if I have to compare one more string in the above, can I put an and and do it? <xsl:if test="$param1='CompanyNamy' and $param2='UserName'"> //Do something. </xsl:if> Please reply.. highly appreciate any response. Regards Sujit | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
