Subject: RE: replacing %20
From: Flemming Jønsson <flj@xxxxxxxxxxxxx>
Date: Fri, 9 Jan 2004 09:12:37 +0100
|
> Translate, as I understand it, takes the form:
> translate(value,string1,string2)
> and simply replaces any character it finds in "string1" with
> the corresponding character in "string2"
>
> Is there a way to replace "%20" with " ", but not "2" with "
> " easily in xslt?
>
Yes, that is quite easy. I use this solution to replace one string with another:
http://www.dpawson.co.uk/xsl/sect2/replace.html
Cheers,
Flemming
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- replacing %20
- annirack - Thu, 8 Jan 2004 14:43:53 -0500 (EST)
- <Possible follow-ups>
- Flemming Jønsson - Fri, 9 Jan 2004 03:13:12 -0500 (EST) <=
|
|