Subject: RE: Expression to say "case insensitive"
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Thu, 30 Mar 2000 19:08:56 +0100
|
> 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
|