This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Re: CASE-CONVERSION
- From: "Kim Durand" <vsd18 at rediffmail dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: 5 Mar 2002 13:47:32 -0000
- Subject: Re: Re: [xsl] CASE-CONVERSION
- Reply-to: xsl-list at lists dot mulberrytech dot com
:-)
Dear Joerg.. I cant stop laughing at what i used to think and how
u explained it. Thank you very much
:))
Kim
On Tue, 05 Mar 2002 Joerg Heinicke wrote :
>
>>i can try translate() function , but it requires to know what i
>>want to translate and what i want to translate it to.In my case
>>since i dont know what would be the text in the color ellement,
>>I reckon translate() wouldnt be of much help .
>
>Wrong ;-)
>
>In XSLT 1.0 the only possibility is to tranlate all lower-case
>characters to the corresponding upper-case characters:
>
><xsl:value-of select="translate($string,
>'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>
>
>Regards,
>
>Joerg
>
>
>--
>System Development
>VIRBUS AG
>Fon +49(0)341-979-7411
>Fax +49(0)341-979-7409
>joerg.heinicke@virbus.de
>www.virbus.de
>
>
>XSL-List info and archive:
>http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list