RE: Should instance element be optional?

> According to the schema for XForms it is not necessary to have an
> instance element in the
> model. How can the form then be bootstrapped? The instance data
> would be empty after
> initialisation and the only action I have found that can create
> new elements is insert. That
> action, however, needs elements in the instance element to copy
> to the instance data.

The instance data can be syntysised based on the UI bindings. I.E., you have
5 text boxes. Your instance is:

<instance>
<text1/>
<text2/>
<text3/>
<text4/>
<text5/>
</instance>

Dave

Received on Tuesday, 15 January 2002 09:29:47 UTC