Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 55331 invoked from network); 14 Feb 2007 20:39:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2007 20:39:22 -0000 Received: (qmail 79349 invoked by uid 500); 14 Feb 2007 20:39:16 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 79325 invoked by uid 500); 14 Feb 2007 20:39:16 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 79314 invoked by uid 99); 14 Feb 2007 20:39:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 12:39:16 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [80.148.52.110] (HELO lisa.i-st.net) (80.148.52.110) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 12:39:05 -0800 Received: from [192.168.114.251] (u19-159.dsl.vianetworks.de [194.231.42.159]) by lisa.i-st.net (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l1EKcXjG012834 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 14 Feb 2007 21:38:41 +0100 Message-ID: <45D37345.1060208@telig.de> Date: Wed, 14 Feb 2007 21:38:29 +0100 From: Stefan User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: ampersand (&) handling in jspx - any workaround? References: <45D328F3.4020800@telig.de> <327858f40702140924l5fa7a4f5ue39625389da4eb68@mail.gmail.com> <45D35C08.6070201@cornell.edu> <45D360CE.60106@christopherschultz.net> <45D363A6.5090700@telig.de> <45D36B6E.6070200@christopherschultz.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Robert Koberg schrieb: > On Wed, 14 Feb 2007 15:05:02 -0500, Christopher Schultz > wrote: > >> Stefan wrote: >>> but where do I need a single "&" in the generated XML. That's forbidden >>> a causes the problems. Can You come up a use case? >> >> Oh, I'm not saying that it's a good idea. I actually agree that emitting >> a single & doesn't make any sense. >> >> Compare this to XSLT. If you want a stylesheet to emit an '&', don't you >> use &? And if you want to emit '&' you have to double it. > > No, if your output method is XML (or XHTML in XSL v2) then it does not > convert it to &. If your output is HTML or text then it does. > > Why not just use XSL or something like Velocity or Freemarker? Simplicity and flexibility. We have a cocoon site running for about 3 or 4 years. For the application we develop now, we do not need that much xml functionality. It gets not even heavy loaded. So a simple xslt filter servlet will do the trick and we are open to use all other frameworks as needed in the future. But anyway a good hint. I'll read about the mentioned frameworks. Thanks. > > best, > -Rob > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > -- Stefan --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org