Subject: Re: [xsl] lower --> upper case From: Michael Hoffmann <m-hoffmann@xxxxxx> Date: Mon, 08 Jan 2001 16:40:52 +0100 |
hi benj ---snip Function: string translate(string, string, string) The translate function returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string. For example, translate("bar","abc","ABC") returns the string BAr. If there is a character in the second argument string with no character at a corresponding position in the third argument string (because the second argument string is longer than the third argument string), then occurrences of that character in the first argument string are removed. For example, translate("--aaa--","abc-","ABC") returns "AAA". If a character occurs more than once in the second argument string, then the first occurrence determines the replacement character. If the third argument string is longer than the second argument string, then excess characters are ignored. --- snip more on the official W3C Site (its really worth to read it !) http://www.w3.org/TR/xpath.html greetings michael "B. Dexheimer" wrote: > Hi everybody ! > > I got a xsl:variable with some text in lower case and I want to get it > in upper case... how can I do that ? > thanks in advance, > > BeNj. > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] lower --> upper case, B. Dexheimer | Thread | Re: [xsl] lower --> upper case, Fr\id\iric SCHWEBEL |
Re: Possible new key() function (Wa, Jeni Tennison | Date | Re: [xsl] Re: topological sort, Jeni Tennison |
Month |