xsl-list
[Top] [All Lists]

RE: XSLT Problem - Case Conversion

2003-10-06 04:22:41
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



<Prev in Thread] Current Thread [Next in Thread>