Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 97032 invoked from network); 7 Jul 2000 13:15:40 -0000 Received: from systemy.systemy.it (194.20.140.20) by locus.apache.org with SMTP; 7 Jul 2000 13:15:40 -0000 Received: from apache.org (pv42-pri.systemy.it [194.21.255.42]) by systemy.systemy.it (8.8.8/8.8.8) with ESMTP id NAA29581 for ; Fri, 7 Jul 2000 13:15:35 GMT Message-ID: <3965B429.B0DB65B@apache.org> Date: Fri, 07 Jul 2000 12:42:49 +0200 From: Stefano Mazzocchi Organization: Apache Software Foundation X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en,it MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: Forms proposal References: <20000706112447.459.qmail@web6204.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Giacomo Pati wrote: > > --- Jeremy Quinn wrote: > > At 20:18 +0200 05/07/00, Giacomo Pati wrote: > > >> Will such TagLibs work in C2? > > >> > > >> Or will they all have to be re-coded for SAX? > > > > > >If you use XSP internal stuff like > > > > > > xspParentNode = xspCurrentNode; > > > xspNodeStack.push(xspParentNode); > > > xspCurrentNode = document.createElement("tr"); > > > xspParentNode.appendChild(xspCurrentNode); > > > > > >then I think yes it must be recoded. > > > > Oh dear! :) > > Jeez, it's taken me long enough to get my head around doing this in DOM :) > > I don't know if you must use DOM. With SAX I feel it's like doing > > this.contentHandler.startElement("", "title", "title", xspAttr); > xspAttr.clear(); > this.characters("A Simple XSP Page"); > this.contentHandler.endElement("", "title", "title"); How many times to I have to tell you people? If you are coding something about SAX or DOM _by_hand_ you'll have troubles. Gee, XSP was created to allow you guys to _avoid_ learning SAX or DOM. Tell me: why is it so hard to use? -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. Friedrich Nietzsche -------------------------------------------------------------------- Missed us in Orlando? Make it up with ApacheCON Europe in London! ------------------------- http://ApacheCon.Com ---------------------