Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 73646 invoked from network); 5 Jun 2000 03:03:45 -0000 Received: from mta4.rcsntx.swbell.net (151.164.30.28) by locus.apache.org with SMTP; 5 Jun 2000 03:03:45 -0000 Received: from [207.193.41.154] by mta4.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0FVN0038XUZNMQ@mta4.rcsntx.swbell.net> for cocoon-dev@xml.apache.org; Sun, 4 Jun 2000 21:59:50 -0500 (CDT) Date: Sun, 04 Jun 2000 21:59:45 -0500 From: Mike Engelhart Subject: Re: recursive func in XSP? In-reply-to: To: cocoon-dev@xml.apache.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N on 6/4/00 9:58 PM, Mike Engelhart at mengelhart@earthtrip.com wrote: >> or, even simpler: >> >> yourMethodCall() >> >> - 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