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>
- Subject: RE: Expression to say "case insensitive"
- From: "Ben Sorek" <bsorek at surfnotes dot com>
- Date: Thu, 30 Mar 2000 21:11:47 +0200
- Reply-To: xsl-list at mulberrytech dot com
first create 2 variables
<xsl:variable name="ABC">
ABCDEFGHIJKLMNOPQRSTUVWXYZ
</xsl:variable>
<xsl:variable name="ABC">
abcdefghijklmnopqrstuvwxyz
</xsl:variable>
Then:
<xsl:if test="transform($name, $ABC, $abc) = transform('Joe', $ABC, $abc)">
....
</xsl:if>
-----Original Message-----
From: owner-xsl-list@mulberrytech.com
[mailto:owner-xsl-list@mulberrytech.com]On Behalf Of Jonathan Asbell
Sent: Thursday, March 30, 2000 7:51 PM
To: 'xsl-list@mulberrytech.com'
Subject: Expression to say "case insensitive"
How do I express the following expression in xslt:
if the case-insensitive value of $name == the case-insensitive value of
"Joe"
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list