Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 29917 invoked from network); 14 Jan 2005 13:57:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Jan 2005 13:57:50 -0000 Received: (qmail 12018 invoked by uid 500); 14 Jan 2005 13:57:49 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 11985 invoked by uid 500); 14 Jan 2005 13:57:49 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: user@forrest.apache.org Delivered-To: mailing list user@forrest.apache.org Received: (qmail 11971 invoked by uid 99); 14 Jan 2005 13:57:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from heisenberg.zen.co.uk (HELO heisenberg.zen.co.uk) (212.23.3.141) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 14 Jan 2005 05:57:47 -0800 Received: from [82.69.78.226] (helo=[192.168.0.2]) by heisenberg.zen.co.uk with esmtp (Exim 4.30) id 1CpRxQ-0000UL-Dr for user@forrest.apache.org; Fri, 14 Jan 2005 13:57:44 +0000 Received: from 127.0.0.1 (AVG SMTP 7.0.300 [265.6.11]); Fri, 14 Jan 2005 13:57:42 +0000 Message-ID: <41E7CFD6.2050407@apache.org> Date: Fri, 14 Jan 2005 13:57:42 +0000 From: Ross Gardler User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en To: user@forrest.apache.org Subject: Re: Support for XInclude in tabs.xml and site.xml References: <86826BF7-64A4-11D9-979B-000A95BD786C@mac.com> <41E537B3.7040108@apache.org> <6ABAFD03-6615-11D9-9A17-000A95BD786C@mac.com> In-Reply-To: <6ABAFD03-6615-11D9-9A17-000A95BD786C@mac.com> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Originating-Heisenberg-IP: [82.69.78.226] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sjur Moshagen wrote: > P=E5 12. jan. 2005 kl. 16.44 skrev Ross Gardler: >=20 >> The site.xml and tabs.xml pipelines do not use the xinclude=20 >> transformer. I don't think there would be a problem in adding this=20 >> functionality to core, but you could create a project sitemap that=20 >> overrides the existing site.xml. >> >> There are three locations in which site.xml appears in the generate=20 >> portion of a pipeline, if you add >> >> >> >> Do the same for the one location tabs.xml appears in a generate=20 >> section of a pipeline. >> >> This should work, if it does, please provide a patch and add it to our= =20 >> issue tracker (see http://forrest.apache.org/contrib.html#patch ) >=20 >=20 > Thanks for the help, it worked. >=20 > A new issue is created in the issue tracker, together with a patch.=20 > Please see: >=20 > http://issues.cocoondev.org//browse/FOR-417 >=20 > What's still left: to document the new xinclude function in site.xml an= d=20 > tabs.xml, both that it is there, and a simple example on how to use it.= Yeah I saw that, thanks very much for the patch. I was about to commit it the other day but something struck me and I=20 don't currently have the time to check it out. Perhaps you could explain = how it works. My problem is understanding how this is helpful because all the XDocs=20 would have to be in the same directory structure. And since we can only=20 have one site.xml and one tabs.xml file in each project I'm not sure how = you are making multiple sites. Perhaps a brief example would make the=20 penny drop for me. Ross -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 12/01/2005