This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: change case
- To: xsl-list at mulberrytech dot com
- Subject: Re: change case
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 18 Oct 2000 11:46:10 GMT
- References: <NDBBJNLLBKPJMEHENIKFOEKKCMAA.lisa@wirestation.co.uk>
- Reply-To: xsl-list at mulberrytech dot com
> Is there a way to change the case of a bit of a string?
Difficult to give definite answer. As you post from .co.uk
the standard answer would be
translate($x,'abcdefghijklmnopqrstuvwxyz',
'ABCDEFGHIJKLMNOPQRSTUVWXYZ')
But this can get tedious if you are using a language that
uses accented letters or sz or ... In that case it might be
better to use an extension function to call out to some
more locale-aware string handling library.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list