This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Expression to say "case insensitive"
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Expression to say "case insensitive"
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Thu, 30 Mar 2000 19:08:56 +0100
- Reply-To: xsl-list at mulberrytech dot com
> How do I express the following expression in xslt:
>
> if the case-insensitive value of $name == the
> case-insensitive value of
> "Joe"
<xsl:variable name="uc">ABCDEFG.....</xsl:variable>
<xsl:variable name="lc">abcdefg.....</xsl:variable>
<xsl:if test="translate($name, $lc, $uc) = translate('Joe', $lc, $uc)">
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list