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: Capitalizing content of a variable


>  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


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