Re: Problem with case-sensitivity2004-10-01 01:28:54Luke 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
|
|