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: ToUpper in XSL



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@Arioso.net]
> Sent: Wednesday, November 22, 2000 1:52 PM
> To: XSL-List@mulberrytech.com
> 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

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