W3C home > Mailing lists > Public > www-forms@w3.org > September 2006

Re: multiple instance/model submission

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Fri, 22 Sep 2006 10:52:16 +0200
Message-ID: <4513A440.6060603@orbeon.com>
CC: www-forms <www-forms@w3.org>

Jason wrote:
> Thanks Victor,
>     you are of course correct, but it wouldnt be too tough for the spec 
> to allow the wrapping of the submissions with some arbitrary element, or 
> to use the model element name as a default.

A possibility would be to submit multiple XML documents with 
multipart/mixed. Unfortunately XForms does not support building such 
messages at the moment, but I can see a use case.

But with XForms 1.1 though, you could dynamically construct an instance 
that contains other instances under a common root element, with the new 
and improved xforms:insert action's @origin attribute:

<xforms:instance id="i1">

<xforms:instance id="i2">

<xforms:instance id="result">

<xforms:insert context="instance('result')" nodeset="*"
<xforms:insert context="instance('result')" nodeset="*"


Orbeon - XForms Everywhere:
Received on Friday, 22 September 2006 08:52:36 UTC

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