xsl-list
[Top] [All Lists]

Re: replacing %20

2004-01-09 00:30:15
Евгения Фирсова wrote:

asc> Is there a way to replace "%20" with " ", but not "2" with " " easily in 
xslt?

Yes. You need only to define variable with value "%20" and then use it
in translate function.

Incorrect. "translate()" only replaces single characters. To replace strings, you'll need a recursive template.

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760

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



<Prev in Thread] Current Thread [Next in Thread>