[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Search and Replace in XSLT

Subject: Search and Replace in XSLT
From: "ciaran byrne" <ciaran.byrne@xxxxxxx>
Date: Fri, 11 Aug 2000 11:09:46 +0100
xslt search and replace
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">
&lt;tag/&lt;

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.