[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] replacing %20


Subject: RE: [xsl] 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