[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Expression to say "case insensitive"

Subject: RE: Expression to say "case insensitive"
From: Jonathan Asbell <jonathana@xxxxxxxxxxxxxx>
Date: Fri, 31 Mar 2000 10:56:17 -0500
xsl case insensitive
I can use cocoon, xt, lotusxsl, whatever.  Can you show me how I can do this
in a semi step by step way?
Thanx
Jonathan


-----Original Message-----
From: John Dreystadt [mailto:jdreysta@xxxxxxxxxxxxx]
Sent: Thursday, March 30, 2000 5:42 PM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: RE: Expression to say "case insensitive"


I think the only good choice would be a Java based extension (are you
using an engine where that works?) and then do the comparison using
the various java.text classes.

John Dreystadt

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Jonathan Asbell
> Sent: Thursday, March 30, 2000 5:32 PM
> To: 'xsl-list@xxxxxxxxxxxxxxxx'
> Subject: RE: Expression to say "case insensitive"
>
>
> 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


 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.