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

storing in non-existent folder?

From: Kevin Flynn <kevin@escenic.com>
Date: Thu, 2 Jul 2009 06:25:42 +0200
Message-ID: <4A4C36C6.600@escenic.com>
To: "xproc-dev@w3.org" <xproc-dev@w3.org>
In Calabash, the following:

    <p:store name="save">
      <p:with-option name="href" 
select="concat($output-folder,'/',$file-stem,'.ext')"/>
    </p:store>

fails if the folder referenced by $output-folder does not already exist.

1 Is this an implementation issue, or is it "as specified".

2 If it is intended behavior, what is the recommended way around it? I 
suppose I could use p:exec to run a shell command, but then it wouldn't 
be platform-independent...

Kevin Flynn
Received on Thursday, 2 July 2009 04:26:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 2 July 2009 04:26:25 GMT