Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 41943 invoked from network); 27 May 2004 18:43:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 May 2004 18:43:18 -0000 Received: (qmail 77286 invoked by uid 500); 27 May 2004 18:43:30 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 77231 invoked by uid 500); 27 May 2004 18:43:29 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 77152 invoked by uid 98); 27 May 2004 18:43:27 -0000 Received: from cromosom@gmx.net by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(212.227.126.171):. Processed in 0.022148 secs); 27 May 2004 18:43:27 -0000 X-Qmail-Scanner-Mail-From: cromosom@gmx.net via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(212.227.126.171):. Processed in 0.022148 secs) Received: from unknown (HELO moutng.kundenserver.de) (212.227.126.171) by hermes.apache.org with SMTP; 27 May 2004 18:43:27 -0000 Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BTPqB-0001bM-00 for users@cocoon.apache.org; Thu, 27 May 2004 20:42:55 +0200 Received: from [80.128.90.52] (helo=gmx.net) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1BTPqB-00072X-00 for users@cocoon.apache.org; Thu, 27 May 2004 20:42:55 +0200 Message-ID: <40B636AE.1030704@gmx.net> Date: Thu, 27 May 2004 20:42:54 +0200 From: Stephan Coboos User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Converting linebreak to
? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:431002173563032d2d00337e9d76f4cf X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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
. For displaying the content of the textarea I'am using a JXTemplate. How I can I transform linebreaks \n into the element
? If i replace all \n with
in the html output I will get only <br/>. So I have to include the
into the SAX pipeline, but how? Is there a easy way to do so (without building a new rome;-)? Thank you. Regards Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org