This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Search and Replace in XSLT
- To: "XSL-List" <xsl-list at mulberrytech dot com>
- Subject: Search and Replace in XSLT
- From: "ciaran byrne" <ciaran dot byrne at 3tl dot com>
- Date: Fri, 11 Aug 2000 11:09:46 +0100
- Reply-To: xsl-list at mulberrytech dot com
Hi all,
Is anybody aware of a search and
replace technique in XSLT.
I've been attempting to use the search and
replace in Michael Kay's Book (p518-519) where recursion
is used to perform the replacing.
This won't work for me in the following case:
let's say I have:
<img src="x.bmp" alt="[tag]"/>
and I want to replace '[' with '<' to get the output
<img src="x.bmp">
<tag/>
using Michaels' technique I get the usual entity problem in XML
i.e. the output becomes:
<img src="x.bmp">
<tag/<
which is no good to me as I need the proper tag.
Any suggestions ??
C.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list