cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Engelhart <mengelh...@earthtrip.com>
Subject Re: recursive func in XSP?
Date Mon, 05 Jun 2000 02:59:45 GMT
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));


Mike


Mime
View raw message