cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Forms proposal
Date Fri, 07 Jul 2000 10:42:49 GMT
Giacomo Pati wrote:
> 
> --- Jeremy Quinn <jeremy@media.demon.co.uk> 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.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message