cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neeme Praks" <ne...@one.lv>
Subject RE: recursive func in XSP?
Date Mon, 05 Jun 2000 08:12:50 GMT

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

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

Mime
View raw message