[xsl] search and replace

Subject: [xsl] search and replace
From: Saverio Perugini <sperugin@xxxxxxxxxxxxxxxx>
Date: Sat, 9 Feb 2002 19:56:29 -0500 (EST)
Hello,

There is much discussion about the following problem on the Web and
various XSLT faqs, discussion lists, etc., but there seems to be
no consensus.

I am interested in the most "painless" and "succinct" method of
performing a global string replacement using XSTL.

e.g., relace(originalString, pattern, replacement) =>

      relace("coffee and tea and milk", " and ", " ") yields the

      string "coffee tea milk".

Thank You.

Saverio Perugini


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


Current Thread