RE: [xsl] Capitalizing content of a variable

Subject: RE: [xsl] Capitalizing content of a variable
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 8 Aug 2001 15:11:52 +0100
>  I want to capitalize the content of a string variable. For 
> instance I have
> a variable foo with value abcdef, now I want to have another 
> variable newfoo
> with the value Abcdef.
> 
> Is there some XSL function to achieve this.

translate($x, 'abcdef...', "ABCDEF...")

Mike Kay
Software AG

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


Current Thread