[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: replacing %20
From: Julian Reschke <julian.reschke@xxxxxx>
Date: Fri, 09 Jan 2004 08:30:15 +0100
Евгения Фирсова 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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member