W3C home > Mailing lists > Public > www-forms@w3.org > January 2002

AW: XForms WD 20020118 - Questions about instanceData

From: Roman Huditsch <roman.huditsch@hico.com>
Date: Wed, 23 Jan 2002 10:17:48 +0100
Message-ID: <0C79A363CB0321418927D0CB1AD0403C095953@hicoetsrv000006.hico.local>
To: <www-forms@w3.org>
If there would be an additional <bind> element for the following example

	<xforms:model> 
	  <xforms:instance> 
	    <payment as="cash"> 
	      <cc/> 
	      <exp/> 
	    </payment> 
	  </xforms:instance> 
	  <xforms:submitInfo action="http://example.com/submit" method="post"/> 
	  <xform:bind ref="cc" relevant="/payment/@as='credit'"/>
	</xforms:model>

the element <cc> will IMHO not be submitted. 
Is that correct?

best regards,
Roman


-----Ursprüngliche Nachricht-----
Von: Micah Dubinko [mailto:MDubinko@cardiff.com]
Gesendet: Mittwoch, 23. Januar 2002 00:34
An: 'Naresh Bhatia'; www-forms@w3.org
Betreff: RE: XForms WD 20020118 - Questions about instanceData


1) When initial instance data is provided (either inline or through
xlink:href), the output XML format is exactly the same--except, of course,
for any changes caused by user input.

2) Yes, by default all the original elements would still be there.

3) "User defined" datatypes, aka. derived XML Schema datatypes, are fully
supported. The association occurs either through xsi:type attributes on the
instance data, or a 'type' constraint on the element <bind>. We don't have
plans to make this happen through the UI.

Thanks!

.micah
Received on Wednesday, 23 January 2002 04:18:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:50 GMT