This probably isn't the most useful reply, but the recent O'Reilly book "XSLT
Cookbook" has an item on replacing text (p. 13). I'm loathe to post the whole
recipe here, suffice it to say it involves a recursive template using
substring-before and substring-after.
You might also want to look at:
http://www.dpawson.co.uk/xsl/sect2/replace.html
Craig
-----Original Message-----
From: Marty McKeever [mailto:marty(_dot_)mckeever(_at_)goingv(_dot_)com]
Sent: Tuesday, March 25, 2003 9:20 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] transforming to breaks
wow, almost the exact same question i just posted.
wierd.
I~I~
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of
Koes, Derrick
Sent: Tuesday, March 25, 2003 10:10 AM
To: 'xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com'
Subject: [xsl] transforming to breaks
I have a node like <nodeName>blah blah more blah blah</nodeName>.
I wish to transform this to html, using <BR></BR> for the carriage
return/linefeed combo.
How can I do this?
Thanks,
Derrick
This electronic transmission is strictly confidential to Smith &
Nephew and
intended solely for the addressee. It may contain information which is
covered by legal, professional or other privilege. If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy or take any action in reliance on this
transmission. If you have received this transmission in error, please
notify the sender as soon as possible and destroy this message.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list