W3C home > Mailing lists > Public > xproc-dev@w3.org > May 2009

Re: Tracking dependencies and modification dates

From: mozer <xmlizer@gmail.com>
Date: Mon, 25 May 2009 08:59:13 +0200
Message-ID: <21d9ade60905242359x7a1bd9e9paa304bcce9110836@mail.gmail.com>
To: lists@chiborg.oib.com
Cc: xproc-dev@w3.org
Probably you should have a look at p:directory-list

Event if no date attribute are specified it is clearly stated in the spec that

Any attributes other than name on c:file, c:directory, or c:other are

So it seems obvious to me that many implementation will give timestamp
and ACL info in some implementation defined attributes


On Fri, May 22, 2009 at 8:38 PM,  <lists@chiborg.oib.com> wrote:
> Hello, today I discovered XProc and it seems the exact answer to a complex
> processing requirement I had, where Ant just didn't cut it. However, there
> is one Ant feature that seems to be missing from XProc: Tracking changed
> files and only executing a pipeline step if the date of a target file is
> lower than the date on a source file. In the case of XProc the date could
> also be given in the form of a parameter or an XPath expression. While I
> have some ideas on how to achieve tracking of modification dates (using
> p:external to generate a document with filenames and timestamps, writing an
> extension, using Ant to call Calabash), they all seem a bit inelegant to me.
> External tools are platform-dependent and will involve many p:choose
> elements, writing an extension is too much hassle, using Ant means using two
> tools instead of one. Maybe someone can recommend a better way of tracking
> modification dates and using them as a condition for pipeline steps. Or
> maybe this requirement is out of the scope of XProc and someone can point me
> to another way to do it. Greetings, Gabriel
Received on Monday, 25 May 2009 06:59:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:05 UTC