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: recursive func in XSP?
Date Mon, 05 Jun 2000 08:17:48 GMT
Neeme Praks wrote:
> 
> Thanks for all your valuable suggestions! I'll try them out and will let
> you know if I managed to solve my problem.
> 
> Just one more concern: if I use DOM objects, I'm incompatible with
> cocoon2, right?
> Or is there something that I missed along the way...

You mean in an XSP page? If you use standard xsp tags this should be not
problem. If you use things like

 Element e = yourMethodCall();
 xspCurrentNode.appendChild(document.importNode(e));

then yes, you are in trouble. 

Giacomo

> 
> Neeme
> 
> > -----Original Message-----
> > From: Donald Ball [mailto:balld@webslingerZ.com]
> > Sent: Monday, June 05, 2000 5:15 AM
> > To: cocoon-dev@xml.apache.org
> > Subject: Re: recursive func in XSP?
> >
> >
> > On Sun, 4 Jun 2000, Mike Engelhart wrote:
> >
> > > on 6/4/00 9:58 PM, Mike Engelhart at mengelhart@earthtrip.com wrote:
> > >
> > > >> or, even simpler:
> > > >>
> > > >> <xsp:expr>yourMethodCall()</xsp:expr>
> > > >>
> > > >> - donald
> > > > I thought that would give a parent document error unless
> > you pass the page's
> > > > Document object into the method...
> > > >
> > > > mike
> > > which actually mine would do as well :-)
> > >
> > > it should be
> > > Element e = yourMethodCall();
> > > xspCurrentNode.appendChild(document.importNode(e));
> >
> > 6 of one, 1/2 dozen of the other. i guess i just don't like relying on
> > XSP's built in and not documented very well variables.
> >
> > - donald
> >
> >

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