Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 90953 invoked from network); 23 Feb 2006 20:55:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Feb 2006 20:55:00 -0000 Received: (qmail 98090 invoked by uid 500); 23 Feb 2006 20:54:48 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 98046 invoked by uid 500); 23 Feb 2006 20:54:47 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 98035 invoked by uid 99); 23 Feb 2006 20:54:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2006 12:54:47 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [165.189.88.165] (HELO eml21p.wi.gov) (165.189.88.165) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2006 12:54:46 -0800 Received: from unknown (HELO COMEXCH999.commerce.state.wi.us) ([165.189.168.112]) by eml21p.wi.gov with ESMTP; 23 Feb 2006 14:54:25 -0600 X-IronPort-AV: i="4.02,141,1139205600"; d="scan'208,217"; a="43862856:sNHT30749088" Received: by comexch999.commerce.state.wi.us with Internet Mail Service (5.5.2656.59) id ; Thu, 23 Feb 2006 14:57:49 -0600 Message-ID: <9AE2275BA7223748AF07E622BA2FE196016A13C2@comexch999.commerce.state.wi.us> From: "Schultz, Gary - COMM" To: "'users@cocoon.apache.org'" Subject: RE: cinclude usage/alternatives Date: Thu, 23 Feb 2006 14:57:48 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N What version of OS, Java SDK and Cocoon are you using? Under Windows, SDK 1.5 and Cocoon 2.1.8 I also received the cinclude element itself instead of the cinclude transformation working, when the cinclude was placed after an xslt transformation. When I went back to SDK 1.4.2_x (1.4.2_10 in my case) the cinclude transformation worked after the xslt transformation. -----Original Message----- From: Bruyn Bill [mailto:Bruynb@mcao.maricopa.gov] Sent: Thursday, February 23, 2006 9:17 AM To: users@cocoon.apache.org Subject: RE: cinclude usage/alternatives Thanks, Lars (and Derek and Sylvain). In the end I got it done with map:aggregate and a downstream xslt (it was easy too - I just had to change my thinking a little bit.) I tried the cinclude approach below, but I actually couldn't get that to work. With this matcher: I end up with the cinclude element itself instead of the pipeline results: As if the cinclude transform never took place. What did I miss there? > -----Original Message----- > From: Lars Huttar [mailto:lars_huttar@sil.org] > Sent: Tuesday, February 21, 2006 9:35 AM > To: users@cocoon.apache.org > Subject: Re: cinclude usage/alternatives > > > Bruyn Bill wrote: > > For various reasons, I need to retrieve some markup from a remote > > resource, and insert my jx result inline. e.g., I have some remote > > file called wrapper.xhtml that looks like > > > > > "-//W3C//DTD XHTML 1.0 Transitional//EN" > > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > > > > > > > > > > > > > > > > > > > > >
Here is some static contentand a placeholder for dynamic > stuff
> > > > > > > > Where I need to replace the contents of //td[@class='webapp'] with > > 'whatever'. It isn't the way I would have chosen to put it > together, > > but it seems like a reasonable requirement that I should be able to > > handle with the sitemap and a cinclude transform. Right? > > > > No luck though with several hours of experimentation and the usual > > looking through google, samples, wiki, archives, userdoc, > etc. BTW, > > the cinclude is really very slow... Is this the > recommended method, > > or am I barking up the wrong tree here? > > > As an alternative to using , you could run your > wrapper.xhtml through a stylesheet transformation that replaces > //td[@class='webapp'] with src="cocoon:/my-pipeline-for-whatever" />; then follow that with the > cinclude transform: > > > > > > > > > Does that address what you're trying to do? > Lars > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org