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

Re: Fileutils

From: Leif Warner <abimelech@gmail.com>
Date: Mon, 1 Jun 2009 09:29:10 -0700
Message-ID: <54d4ec0f0906010929k22304f63gd01a667b4eb44fdb@mail.gmail.com>
To: XProc Dev <xproc-dev@w3.org>
> 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?

-Leif Warner

On Mon, Jun 1, 2009 at 5:07 AM, James Fuller <james.fuller.2007@gmail.com>wrote:

> > <p:declare-step type="cxf:info">
> > <p:declare-step type="cxf:touch">
> > <p:declare-step type="cxf:tempfile">
> > <p:declare-step type="cxf:delete">
> > <p:declare-step type="cxf:mkdir">
> > <p:declare-step type="cxf:copy">
> > <p:declare-step type="cxf:move">
>
> cool, could we add a fail-on-error option which is set to true by
> default on all the steps, but could be overridden if different
> behavior is desired.
>
> also any thoughts on ?
>
> cfx:head
> cfx:tail
>
> also wondering 'out loud' if whilst we are here to investigate any
> extension attributes to p:data / p:document (or p:load) to make
> encoding explicit between binary/unicode/other encoding ... I know we
> have content-type for p:data but I think we default to whats inside
> the document to inform with p:document.
>
> thx for all this Norman, looks great.
>
> cheers, Jim Fuller
>
>
Received on Monday, 1 June 2009 16:29:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 1 June 2009 16:29:42 GMT