This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Capitalizing content of a variable
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Capitalizing content of a variable
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 8 Aug 2001 15:11:52 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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