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: Expression to say "case insensitive"


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

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