string-utils:replace deleting search string if replacement string is an HTML 2006-12-07 - By keshlam@(protected)
That's better than mine; I forgot to handle the case where no line-break exists.
BTW, in addition to the xsl-list (which is a great resource for XSLT programming advice), you should be aware of the XSLT FAQ website, which is a collection of the best answers from that list:
http://www.dpawson.co.uk/xsl/sect2/sect21.html
(It's section 2.1 because Dave has several other groups of FAQs dealing with related topics. Good resource!)
______________________________________ "... Three things see no end: A loop with exit code done wrong, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (http://www.ovff.org/pegasus/songs/threes-rev-11.html) <html><body> <p>That's better than mine; I forgot to handle the case where no line-break exists.<br> <br> BTW, in addition to the xsl-list (which is a great resource for XSLT programming advice), you should be aware of the XSLT FAQ website, which is a collection of the best answers from that list:<br> <br> <a href="http://www.dpawson.co.uk/xsl/sect2/sect21.html">http://www.dpawson.co .uk/xsl/sect2/sect21.html</a><br> <br> (It's section 2.1 because Dave has several other groups of FAQs dealing with related topics. Good resource!)<br> <br> ______________________________________<br> "... Three things see no end: A loop with exit code done wrong,<br> A semaphore untested, And the change that comes along. ..."<br> -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (<a href="http://www .ovff.org/pegasus/songs/threes-rev-11.html">http://www.ovff.org/pegasus/songs /threes-rev-11.html</a>)</body></html>
|
|