RE: [xsl] XSLT Problem - Case Conversion

Subject: RE: [xsl] XSLT Problem - Case Conversion
From: Jarno.Elovirta@xxxxxxxxx
Date: Mon, 6 Oct 2003 14:22:41 +0300
Hi,

> Is there any built-in function like toupper() or
> tolower() in XSL so that we can convert the text -

No.

> such as upper to lower or vice versa? e.g. I want to
> see 'STATUS' or 'STATUSCODE' as 'Status' or
> 'Statuscode.
> 
> If there is no built-in function how shall I use it in
> xsl document?

substring() and translate() functions. See the XPath spec on how to use them, the FAQ on how people use them in solving your problem.

Cheers,

Jarno - Velvet Acid Christ: The Dark Inside Me

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


Current Thread