Subject: Re: Hmmmm.... translate function
From: "Karl Stubsjoen" <karl@xxxxxxxxxxxxx>
Date: Fri, 14 Mar 2003 12:45:58 -0700
|
> Translate is on character basis, that is translating the character on
> the 2nd string to the character on the same position on the 3rd string.
> More characters you provide on 3rd string will just be ignored.
> Seems there's no convinient function in xsl to be found to solve your
> problem. You may want to combine substring-before and substring-after
> functions.
Err... that stinks.
What about: is there some sort of encoding translation device, as in encode
text for a specified type. See my prblem is, the + symbol as part of a
querystring is interpretid as a space... so I need to encode it '%2B' when I
generate the HREF.
Thanks. Karl
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|