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

Thanks, all!  I'll be able to work myself from here!

On Thu, Jun 15, 2017 at 9:23 AM, Achim Berndzen <
achim.berndzen@xml-project.com> wrote:

> Hi Hans,
>
>
> > Am 14.06.2017 um 23:26 schrieb Hans Hübner <hans.huebner@lambdawerk.com
> >:
> >
> > Hi Achim,
> >
> > are the exproc.org steps available in MorganXProc?
>
> Yes, MorganaXProc supports all exproc.org steps since version 0.95-9. As
> Gerrit pointed out, you have to use p:import with the respective uris ("
> http://exproc.org/proposed/steps/file“ ) etc. to make the steps
> available. The behaviour with XMLCalabash is somewhat different, because
> the extension steps are included in the standard pipeline imported with
> "http:// xmlcalabash.com/extension/steps/library-1.0.xpl“.
> For further details on this difference please see section 6 of the paper,
> Gerrit and I delivered for XML London 2016. (http://xmllondon.com/2016/
> xmllondon-2016-proceedings.pdf)
>
> Cheers,
> Achim
>
> >
> > -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/
> >
> >
>
> --------------------------------------
> Achim Berndzen
> achim.berndzen@xml-project.com
>
> http://www.xml-project.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 Thursday, 15 June 2017 09:24:38 UTC