tomhartland
02-05-2004, 05:13 AM
I'm posting this as a sort-of cross thread of http://forums.webdeveloper.com/showthread.php?s=&threadid=27004, in a way to try and tackle the problem from a different angle.
I am trying to achieve "search and replace" functionality within my XSLT, where any instances of carriage return and/or new lines are replaced with <br> tags in the resultant HTML file.
So if I was to have the following XML...<TEXTTAG>This is before,
and this is after the carriage return.</TEXTTAG>...the output would be...
This is before,<br>and this is after the carriage return.If anybody could give me any advice I'd really appreciate it
Cheers,
Tom :)
I am trying to achieve "search and replace" functionality within my XSLT, where any instances of carriage return and/or new lines are replaced with <br> tags in the resultant HTML file.
So if I was to have the following XML...<TEXTTAG>This is before,
and this is after the carriage return.</TEXTTAG>...the output would be...
This is before,<br>and this is after the carriage return.If anybody could give me any advice I'd really appreciate it
Cheers,
Tom :)