cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <pati_giac...@yahoo.com>
Subject Re: Forms proposal
Date Thu, 06 Jul 2000 11:24:47 GMT

--- 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");

Giacomo

> 
> thanks Giacomo
> 
> regards Jeremy
> -- 
>    ___________________________________________________________________
> 
>    Jeremy Quinn                                           Karma Divers
>                                                        webSpace Design
>                                             HyperMedia Research Centre
> 
>    <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
>     <phone:+44.[0].20.7737.6831>        <pager:jermq@sms.genie.co.uk>


=====
--
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

Mime
View raw message