Re: Can I prevent p:store from overwriting files?

Hi Achim,

are the exproc.org steps available in MorganXProc?

-Hans

On Wed, Jun 14, 2017 at 7:00 PM, Achim Berndzen <
achim.berndzen@xml-project.com> wrote:

> Hi Hans,
>
> what about using pxf:info (http://exproc.org/proposed/steps/fileutils.html).
> It returns informations about a file and a file, that is readable is
> supposed to exist.
> Not sure, whether this exactly fits your needs, but I use this step to
> test for existing files.
>
> Greetings from Wolfenbüttel,
> Achim
>
> ------------------------------------------------
> Achim Berndzen
> achim.berndzen@xml-project.com
>
> http://www.xml-project.com
>
>
>
>
> > Am 14.06.2017 um 19:40 schrieb Hans Hübner <hans.huebner@lambdawerk.com
> >:
> >
> > Hi,
> >
> > in one of my pipelines, I want to generate certain files only if they do
> not already exist.  It seems, though, that there is no way to instruct
> p:store not to overwrite existing files, and there also seems to be no way
> to query for the existence of a file using plain XProc (or MorganaXProc,
> for that matter).  Has anyone of you ever run into such a requirement and
> found a nice and small solution?
> >
> > Thanks,
> > Hans
> >
> > --
> > LambdaWerk GmbH
> > Oranienburger Straße 87/89
> > 10178 Berlin
> > Phone: +49 30 555 7335 0
> > Fax: +49 30 555 7335 99
> >
> > HRB 169991 B Amtsgericht Charlottenburg
> > USt-ID: DE301399951
> > Geschäftsführer:  Hans Hübner
> >
> > http://lambdawerk.com/
> >
> >
>
>


-- 
LambdaWerk GmbH
Oranienburger Straße 87/89
10178 Berlin
Phone: +49 30 555 7335 0
Fax: +49 30 555 7335 99

HRB 169991 B Amtsgericht Charlottenburg
USt-ID: DE301399951
Geschäftsführer:  Hans Hübner

http://lambdawerk.com/

Received on Wednesday, 14 June 2017 21:27:15 UTC