Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] Problem with case-sensitivity [Thread Next] Re: [xsl] Problem with case-sensitivityTo: Date: 10/1/2004 2:29:00 PM Luke Ambrogio wrote: <>when i use the function: contains(@name,$name) it returns true only if even the case are the same You need to define two variables: <xsl:variable name="upperCase" select="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/> <xsl:variable name="lowerCase" select="abcdefghijklmnopqrstuvwxyz"/> and then use the translate() function to convert @name and $name to the same case before comparing. hth, Manos | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
