Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 3097 invoked from network); 21 Feb 2006 16:33:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Feb 2006 16:33:03 -0000 Received: (qmail 48554 invoked by uid 500); 21 Feb 2006 16:32:59 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 48196 invoked by uid 500); 21 Feb 2006 16:32:57 -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 48185 invoked by uid 99); 21 Feb 2006 16:32:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 08:32:57 -0800 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 (asf.osuosl.org: domain of lars_huttar@sil.org designates 208.145.81.125 as permitted sender) Received: from [208.145.81.125] (HELO mail.link77.net) (208.145.81.125) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 08:32:56 -0800 X-Scanned-By: RAE MPP/Clamd http://raeinternet.com/mpp Received: from [172.20.6.70] (account lars_huttar@sil.org [172.20.6.70] verified) by mail.link77.net (CommuniGate Pro SMTP 5.0.8) with ESMTPSA id 104944462 for users@cocoon.apache.org; Tue, 21 Feb 2006 11:32:35 -0500 Message-ID: <43FB4138.80202@sil.org> Date: Tue, 21 Feb 2006 10:35:04 -0600 From: Lars Huttar User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: cinclude usage/alternatives References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 > > > > "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 ; 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