This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: UpperCase to Lower Case
- From: Markus Spath <mspath at arcor dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 26 Feb 2002 20:16:06 +0100
- Subject: Re: [xsl] UpperCase to Lower Case
- References: <20020226185924.10102.qmail@mailweb29.rediffmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
hi,
vasu deva wrote:
>
> Dear Henk, Your suggestion was good. But I dont know whether i will get
> AM or PM.. If i knew that i would have used translate. but i dont know
> what i will get from xml .. am or pm.. so in that case can we do
> something to tell that convert what ever i get from xml to lower case ??
> vsd
>
> On Wed, 27 Feb 2002 Henk Meulekamp wrote :
>
>>
>> with the translate function
>>
>> <xsl:variable name = "ampm" select="translate(//Music/programme/ampm,
>> 'AM',
>> 'am')"/>
<xsl:variable name = "ampm" select="translate(//Music/programme/ampm,
'ABCDE...',
'abcde...')"/>
markus
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list