if you would translate it, then you'd have to translate <br/> into <br>
The translations i use most are : > becomes > < < space   & & ' " -----Original Message----- From: Tony Collen [mailto:[EMAIL PROTECTED] Sent: 27mm2004 21:30 To: [EMAIL PROTECTED] Subject: Re: Converting linebreak to <br/>? Stephan Coboos wrote: > Hello, > > I'am using a flowscript to retrieve text from a form's textarea. This > text may contain some linebreaks \n. Now I want display the content with > line breaks in a html view. So I need to convert \n to <br/>. For > displaying the content of the textarea I'am using a JXTemplate. How I > can I transform linebreaks \n into the element <br/>? If i replace all > \n with <br/> in the html output I will get only <br/>. So I have > to include the <br/> into the SAX pipeline, but how? Is there a easy way > to do so (without building a new rome;-)? You could probably write a transformer to do it. Tony --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
