AW: Specifying the <submission> element

As I've understood the spec that the "ref" attribute selects a subtree of a specified instance for submission as Bob mentioned. Otherwise I could not figure out any situation where it would make sense to use the "ref" attribute to update the instance on submit. How would you be able to provide a value for this update when the submission takes part?

wbr,
Roman 
 
-----Ursprüngliche Nachricht-----
Von: Rob Bull [mailto:rob.bull@blackdog.co.uk]
Gesendet: Donnerstag, 9. Januar 2003 10:31
An: Bob Smith; www-forms@w3.org
Betreff: Re: Specifying the <submission> element



I gather that the (verified) model is what is submitted, the ref merely uses
the xPath syntax to update/verify the instance data, ie the node values of
the model.

ie if you set your referenced node a/b/c to "widget", a is the top level
node and the xml that the processor would want to verify and submit would be
<a>
    <b>
        <c>widget</c>
    </b>
</a>

If this is not the case, I have seriously missed the point and would like to
know!

RR

----- Original Message -----
From: "Bob Smith" <gordongano99@yahoo.com>
To: <www-forms@w3.org>
Sent: Wednesday, January 08, 2003 7:42 PM
Subject: Specifying the <submission> element


|
| (1) The "ref" attribute lets you specify a subtree of
| the instance data, but it doesn't say exactly how it's
| submitted. E.g. if my ref value is "/a/b/c", then will
| "c" be the top level node or will "a"?
|
| (2) Maybe I've missed it, but how do you specify which
| instance data to submit? Do you have to put an
| instance() function call in the ref attribute? It
| would be nice if this were clearer in the spec.
|
|
| __________________________________________________
| Do you Yahoo!?
| Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
| http://mailplus.yahoo.com
|
|
|

Received on Thursday, 9 January 2003 06:51:02 UTC