W3C home > Mailing lists > Public > public-xformsusers@w3.org > January 2019


From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 16 Jan 2019 13:43:57 +0100
To: public-xformsusers@w3.org
Message-ID: <op.zvpmzje8smjzpq@steven-xps>
Use case: I want to select an XML file from the filestore and use it as  
the content of an instance.

The control to get a file from the filestore is <upload/>

Do we expect the following to work?
    <upload ref="instance('data')" accept="application/xml"/>

Or is a submission the only way:

    <submission resource="file:" serialization="none" replace="instance"  

Does this work?

How do you do such things in your implementations?

The section on upload seems not to properly cover this use case.

Received on Wednesday, 16 January 2019 12:44:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:50 UTC