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

Re: Fileutils

From: James Fuller <james.fuller.2007@gmail.com>
Date: Mon, 1 Jun 2009 18:43:46 +0200
Message-ID: <a0ad8ffe0906010943h23b8dfcfhe7dd154b4c61aadc@mail.gmail.com>
To: Leif Warner <abimelech@gmail.com>
Cc: XProc Dev <xproc-dev@w3.org>
On Mon, Jun 1, 2009 at 6:29 PM, Leif Warner <abimelech@gmail.com> wrote:
>> cfx:head
>> cfx:tail
> As in taking the head or tail of text files?
> Could you use some XPath like substring() or tokenize() on a p:data to split
> up a file that way?

not directly on p:data (as its not xml of course) ... I would like to
return xml result

<file:head start='0' end='100'>
.... 100 lines ...

also I have no problem with standardizing extensions which themselves
can be implemented using an xproc pipeline ... the key thing is to get
the interface right so we don't have something different everywhere.

cheers, Jim Fuller
Received on Monday, 1 June 2009 16:44:25 UTC

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