Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 73508 invoked from network); 28 Apr 2005 12:27:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Apr 2005 12:27:10 -0000 Received: (qmail 8625 invoked by uid 500); 28 Apr 2005 12:27:57 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 8599 invoked by uid 500); 28 Apr 2005 12:27:57 -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 8585 invoked by uid 99); 28 Apr 2005 12:27:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from server004.webpack.hosteurope.de (HELO server004.webpack.hosteurope.de) (80.237.130.12) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 28 Apr 2005 05:27:57 -0700 Received: by server004.webpack.hosteurope.de running Exim 4.34 using asmtp from pd9e77624.dip.t-dialin.net ([217.231.118.36] helo=[192.168.0.18]) id 1DR86S-0002by-9v; Thu, 28 Apr 2005 14:26:48 +0200 Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Volker Bublitz Subject: Re: xsp and < symbol problem Date: Thu, 28 Apr 2005 14:26:47 +0200 To: users@cocoon.apache.org X-Mailer: Apple Mail (2.622) X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > What you need to understand is that Cocoon pipelines transport SAX > events. An creates a character data event which will > percolate down the pipeline. None of the standard transformers will > try to parse these strings into XML again. ok - thanks for that information. > You have to generate any XML tags as such already in the XSP: > > > SELECT id FROM cmdb > WHERE bezeichnung=' sql:name="bezeichnung"/>' ... > i experienced another problem here - on linux this works great but on mac os x the output is: seems to be a different problem here. problems with a library? > But rather than using XSP-generator|SQL-transformer you should have a > look at the esql logicsheet. That allows you to run the SQL inside > the XSP and gives more control over conditional output and formatting. > > Btw for serious applications I would recommend to use neither > SQL-transformer nor ESQL-logicsheet for insert/update/delete > operations. These should always be incapsulated in Java classes for > proper transaction and exception handling. i think we'll do it that way - thank you very much. volker --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org