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: change case



> 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

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