Re: [xsl] Translate and substring in AVT

Subject: Re: [xsl] Translate and substring in AVT
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Tue, 11 Mar 2003 15:18:03 +0200
Jarkko.Moilanen@xxxxxx wrote:

I am stuck with performing two operations one after the other.
First I need to translate all Capital letters to normal letters and then take a substring of the translation. Now in the below I am permorming only substring selection. The question is how to do the translation first?

substring(translate(/FINCCIS/User/UserProfile/LogInName/@name, $upper, $lower),1,7)


where
<xsl:variable name="upper" select="'ABCDE...'"/>
<xsl:variable name="lower" select="'abcde...'"/>
--
Oleg Tkachenko
Multiconn Technologies, Israel


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



Current Thread