RE: [xsl] replacing %20

Subject: RE: [xsl] replacing %20
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 9 Jan 2004 10:00:33 -0000
> 
> asc> Is there a way to replace "%20" with " ", but not "2" with " " 
> asc> easily in xslt?
> 
> Yes. You need only to define variable with value "%20" and 
> then use it in translate function.
> 

No, translate() works on individual characters. 

Look in the FAQ under "replace".

Michael Kay


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


Current Thread