[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Problem with case-sensitivity
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey Luke, you could translate both values to uppercase using the translate function before comparing them: <xsl:variable name='s1' select='translate(@name,"abcdefghiklmnopqrstuvwxyz","ABCDEFGHIKLMNOPQRSTUVWXYZ")'/> <xsl:variable name='s2' select='translate($name,"abcdefghiklmnopqrstuvwxyz","ABCDEFGHIKLMNOPQRSTUVWXYZ")'/> <xsl:if test='contains($s1,$s2)'> ... </xsl:if> hth, Wolfgang
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBXSJYqjaicDyx8o8RAhayAJ9zM6AgT29o7jaiS3gXFFGRCa2cHQCfeVBR 8a9Ocg7m8HF8fa2vptAUy1w= =rpl8 -----END PGP SIGNATURE-----
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|