cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <Giacomo.P...@pwr.ch>
Subject Re: XSP confusion
Date Fri, 26 May 2000 05:06:12 GMT
Mike Engelhart wrote:
> 
> My question is, why do I have to be in "trouble" :-)
> If I have classes that generate DOM elements and Node's (which I won't mind
> porting to SAX if need be) is there no way to easily append them to the XSP
> pages?  This is where I'm confused about what direction to take.  Is it
> prudent to start rewriting my methods that return DOM Element objects to
> return SAX objects?  Any advice appreciated.

I don't know if I understand your question. If you have classes
producing DOM fragment and you want to still use them in C2 you may use
the helper classes in the xml/util to transform them to SAX events
(DOMStreamer.java). 

Giacomo

-- 
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

Mime
View raw message