Hi Saurabh,
Use the build-in translate():
translate($yourvar, 'abcdefghijklmnopqrstuvwxyz',
'ABCDEFGHIJKLMNOPQRSTUVWXYZ')
If you need it often, you can make a template for it and call that.
Greetings René
{@ @}
^
\_/
"You don't need eyes to see, you need vision!"
TJIP PCL
Steenovenweg 3
5708 HN Helmond
The Netherlands
tel: +31(0) 492 502 222
fax: +31(0) 492 502 299
e-mail: R(_dot_)deVries(_at_)tjip(_dot_)com
internet: www.tjip.com
***************************DISCLAIMER********************************
Deze e-mail is uitsluitend bestemd voor de geadresseerde(n).
Verstrekking aan en gebruik door anderen is niet toegestaan.
TJIP PCL sluit iedere aansprakelijkheid uit die voortvloeit uit
elektronische verzending.
This e-mail is intended exclusively for the addressee(s), and may
not be passed on to, or made available for use by any person
other than the addressee(s). TJIP PCL rules out any and every liability
resulting from any electronic transmission.
Saurabh Sinha
<i_am_saurabhsinha(_at_)yahoo(_dot_)co To:
XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
.in> cc:
Sent by: Subject: [xsl] XSLT
Problem - Case Conversion
owner-xsl-list(_at_)lists(_dot_)mulber
rytech.com
06-10-2003 13:00
Please respond to xsl-list
Hi,
Is there any built-in function like toupper() or
tolower() in XSL so that we can convert the text -
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?
Thanks,
Saurabh
struct.xml
----------
<struct>
<var name="STATUS">
<string>No Error</string>
</var>
<var name="STATUSCODE">
<string>0</string>
</var>
</struct>
struct.html
-----------
Current Output
-------------
STATUS No Error
STATUSCODE 0
Expected Output
-------------
Status No Error
Statuscode 0
________________________________________________________________________
Yahoo! India Matrimony: Find your partner online.
Go to http://yahoo.shaadi.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list