W3C home > Mailing lists > Public > xproc-dev@w3.org > September 2008

2 questions about p:store

From: James Garriss <james@garriss.org>
Date: Mon, 29 Sep 2008 15:27:50 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <C506A476.BA8%james@garriss.org>
A pipeline that contains this:

    <p:for-each name="step1">
        <p:iteration-source select="//Book"/>
        <p:store href="books.xml"/>
    </p:for-each>


might overwrite the file "books.xml" many times.

1) Does the the XProc spec give guidance to XProc processors on how to
handle overwrites?  Should it?

2) How would you prevent an overwrite?  Is there a way to give a unique
filename for each book when p:store writes it?

TIA,

James Garriss
http://garriss.blogspot.com
Received on Monday, 29 September 2008 19:28:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:03 UTC