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

Of course you can do this, too. (Who said TIMTOWTDI [1] doesn’t apply to 
XProc?) With p:directory-list, you need to use try/catch if the 
directory that your file is expected to reside in is not guaranteed to 
exist. With pxf:info, you can use the fail-on-error="false" option, but 
then you have to call p:count in order to check whether it produced a 
result. (That is, calling p:count is just one way to check it.)


On 6/15/17 3:18 AM, Conal Tuohy wrote:
> p:directory-list can tell you whether or not a file exists
> On 15 June 2017 at 03:40, Hans Hübner < 
> <>> wrote:

Received on Thursday, 15 June 2017 06:55:15 UTC