Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 42019 invoked from network); 27 Apr 2005 12:27:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Apr 2005 12:27:23 -0000 Received: (qmail 17080 invoked by uid 500); 27 Apr 2005 12:27:56 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 17057 invoked by uid 500); 27 Apr 2005 12:27:56 -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 17024 invoked by uid 99); 27 Apr 2005 12:27:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from odoko.co.uk (HELO odoko.co.uk) (80.68.92.132) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 27 Apr 2005 05:27:54 -0700 Received: from elfriedeholmes.demon.co.uk ([80.177.165.206] helo=[10.0.0.3]) by odoko.co.uk with asmtp (Exim 4.34) id 1DQlfC-0001q2-BP for users@cocoon.apache.org; Wed, 27 Apr 2005 13:29:10 +0100 Message-ID: <426F8510.5030909@upaya.co.uk> Date: Wed, 27 Apr 2005 13:26:56 +0100 From: Upayavira User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: How to read the lastModifiedDate of the original XML file? References: <329A68716B57D54E8D39FD3F8A4A84DF01AAF580@um-mail0136.unimaas.nl> In-Reply-To: <329A68716B57D54E8D39FD3F8A4A84DF01AAF580@um-mail0136.unimaas.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Linden H van der (MI) wrote: > Hi Upayavira, > > Thanks for the ideas. > > I've rejected flow because it requires me to pass all files through a > , which doesn't look very > elegant to me. > > I've also been thinking about the DirectoryGenerator before, but I can't > get beyond an aggregation or cinclude of the DirectoryGenerator result > and a subsequent filtering using XSL (only extracting the info of the > filename which I passed on as a parameter). > > This also doesn't look elegant to me and it makes me wondering about > performance. > > Any ideas? Well, without breaking into Java, no. That is the sort of thing I was thinking of. You could write yourself an input module to do it, or... You could try the JXPathMetaModule. Maybe something like