Comments on XForms working draft from 2001-02-16

8.5.: Multiple Forms per Page

The example binds to an "orderform" element, which is in a namespace.
However, the binding syntax doesn't seem to provide a way to specify this.

For instance, if the instance data would be

<xform:xform id="b">
  <xform:model>
    ...
  </xform:model>
  <xform:instance>
    <orderForm xmlns="uri-a">
      <shipTo>
        <firstName>value</firstName>
      </shipTo>
    </orderForm>
    <orderForm xmlns="uri-b">
      <shipTo>
        <firstName>value</firstName>
      </shipTo>
    </orderForm>  </xform:instance>
</xform:xform>

How would I distinguish between the two different orderForm elements?

Received on Friday, 8 June 2001 07:39:46 UTC