RE: ToUpper in XSL

Subject: RE: ToUpper in XSL
From: Archie Russell <archier@xxxxxxxxxxxxxxx>
Date: Wed, 22 Nov 2000 19:27:18 -0800
for an individual string i do translate

	<xsl:value-of
select="translate(string(.),'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQR
STUVWXYZ')"/>


for the whole file if you're on unix you can pipe through "tr", otherwise
you could pipe xsl output through some kind of a java reader that does
translation for you.

> -----Original Message-----
> From: Camille Nazi [mailto:Camille.Nazi@xxxxxxxxxx]
> Sent: Wednesday, November 22, 2000 1:52 PM
> To: XSL-List@xxxxxxxxxxxxxxxx
> Subject: ToUpper in XSL
> 
> 
> 
> I use XSL on my XML data and I want my final result file to 
> be all Upper
> Case.
> Does anyone know how to convert to UpperCase in XSL ??? 
> Whether converting
> a String, or an Input Stream or a File.
> 
> If not how do we make a call to a Java Class from within XSL ???
> 
> Thanks in advance
> Camille Nazi
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


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


Current Thread