Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 76622 invoked by uid 500); 20 Mar 2001 07:07:30 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 76611 invoked from network); 20 Mar 2001 07:07:29 -0000 Date: Tue, 20 Mar 2001 02:08:09 -0500 (EST) From: Donald Ball X-Sender: To: Subject: Re: esql Transitive closure (recursive queries) cocoon2 In-Reply-To: <004101c0b0cb$f136bd40$d99af7cc@cohera.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Mon, 19 Mar 2001, Anjul Srivastava wrote: > 1. Is there any elegant way to construct an XML document built from > recursive queries using esql? (see example (5.)) not unbounded recursively, no. > 2. Are there any plans to support such functionality in esql? if you can suggest a good syntax for describing it, that'd be swell. > 3. Is it possible to support such functionality in cocoon? I can't see > any straightforward way. Ideally one would want to use the "template" > mechanism of stylesheets to do the recursion for me. you pretty much need to put the esql query into a java function that you can invoke arbitrarily at request-time - but that's problematic, since you don't really know what variables the author is going to reference inside the function. > 4. How about cocoon2? Does it alleviate this problem or make it more > difficult? it's essentially just a deficiency in the xsp language, i think. various mechanisms have been suggested to work around it, but no one's ever forced the issue. it's not a very common problem, but it does irk me. - donald --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: