[thelist] Replace function

Fernando Gómez fgomez at criba.edu.ar
Mon Sep 30 08:52:00 CDT 2002


From: "Stevenson Ngila" <Stevenson at epr.footman-walker.com>
Sent: Monday, September 30, 2002 10:33 AM

> Does XSLT have a replace function?


Xpath has a translate() function, but it is somewhat limited, in that it
allows to replace one character by another character, but does not work with
arbitrary strings.

You can find ome interesting tips here (there's a section devoted to
"Replace"):

http://www.dpawson.co.uk/xsl/sect2/sect21.html
(XSLT Questions and Answers)


Regards,

Fernando Gomez





More information about the thelist mailing list