This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: case insensitive comparison


> Currently, have this:
> 
>         <xsl:when test= ".[@internal = //bookmark/@name]">
> 
> I'd like to make this case insensitive.   Thanks.  ekt

You can do this (for a limited alphabet) using the translate() function, but
not that translate() is XSLT whereas ".[condition]" isn't - it's an IE5 XSL
special. Just leave out the ".[" and "]".

Mike Kay


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]