Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 78549 invoked from network); 4 Jan 2005 08:35:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Jan 2005 08:35:36 -0000 Received: (qmail 23458 invoked by uid 500); 4 Jan 2005 08:34:52 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 23361 invoked by uid 500); 4 Jan 2005 08:34:50 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 23325 invoked by uid 99); 4 Jan 2005 08:34:50 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jh@schaubroeck.be designates 193.75.212.6 as permitted sender) Received: from mail2.schaubroeck.be (HELO mail2.schaubroeck.be) (193.75.212.6) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 04 Jan 2005 00:34:47 -0800 Received: (from root@localhost) by mail2.schaubroeck.be (8.12.3/8.12.3/ESMTP) id j048Ya34010323 for users@cocoon.apache.org; Tue, 4 Jan 2005 09:34:36 +0100 Received: from [193.74.194.207] ([193.74.194.207]) by mail2.schaubroeck.be (8.12.3/8.12.3/ESMTP) with ESMTP id j048YJiG010254 for ; Tue, 4 Jan 2005 09:34:24 +0100 Message-ID: <41DA550F.5080509@schaubroeck.be> Date: Tue, 04 Jan 2005 09:34:23 +0100 From: Jan Hoskens User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Dynamic CInclude References: <216068741.20050103211937@ciudad.com.ar> In-Reply-To: <216068741.20050103211937@ciudad.com.ar> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scan: by Schaubroeck X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Gaston Martini wrote: > Hi, > > We're using CInclude for caching purposes and we need to specify its > "src" attribute dinamically, i.e. the value of src is not known in > advance. > > We tried some combinations with , with no luck. For example, > trying to output the entire cinclude: > test > with String test = "", > results in '<' and '>' being translated to < and >: > <cinclude:cached-include src=\"cocoon:/some_pipeline\"/> > > We also tried some other approaches, but nothing worked. > > Any suggestions? > > Thanks in advance, > Gaston & Martin. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > I use jx to do the following in my sitemap resource (page parameter is given by map:parameter): Before switching to flow-jxtemplate combination I used xsp: String dir = "mydir"; cocoon:/dir/file.xml which worked fine. Remember that the overall cocoon-way-of-thinking heads towards the flowscript(glue to your business-logic) and jxtemplate combination instead of xsp. (not that you have to do this of course ;-) Kind Regards, Jan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org