xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: Expression to say "case insensitive"


Subject: RE: Expression to say "case insensitive"
From: Jonathan Asbell <jonathana@xxxxxxxxxxxxxx>
Date: Thu, 30 Mar 2000 17:31:45 -0500

Yeh, but this wont work if you have Latin characters such as não or vôce
etc.  I would have to somehow import an entire encoding set.


-----Original Message-----
From: Kay Michael [mailto:Michael.Kay@xxxxxxx]
Sent: Thursday, March 30, 2000 1:09 PM
To: 'xsl-list@xxxxxxxxxxxxxxxx'
Subject: RE: 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: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


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



Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor