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

Re: Uppercase

Subject: Re: Uppercase
From: "John E. Simpson" <simpson@xxxxxxxxxxx>
Date: Fri, 18 Feb 2000 08:58:25 -0500
xslt translate uppercase
At 01:06 PM 2/18/2000 +0000, Marta Lobato wrote:
The problem is with lowercase and uppercase.
As I am comparing the initial of one keyword
and the following one, when it is X and x it
return as different initials and it outputs it,
when in fact they are the same.  So I get a shortcut
like:

23aAabBcCc....

If I understand what you want to do, this is a classic problem. The solution I usually use is to be absolutely certain that the string being sought and the text in which I'm seeking it are the same case. You can do this internally to your XSLT stylesheet, without actually having to change the case of the source document. Look at the XSLT translate() function and I think it will help.


=============================================================
John E. Simpson
simpson@xxxxxxxxxxx
-------------------------------------------------------------
I put contact lenses in my dog's eyes. They had little
pictures of cats on them. Then I took one out and he ran
around in circles.  (Stephen Wright)


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.