This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

search and replace


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]