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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 29 September 2008 19:28:32 GMT