RE: XForms WD 20020118 - Questions about instanceData

Correct. Since the element node 'cc' would have a relevant="false"
constraint mapped to it, the serializer would skip it when writing out the
XML.

.micah

-----Original Message-----
From: Roman Huditsch [mailto:roman.huditsch@hico.com]
Sent: Wednesday, January 23, 2002 1:18 AM
To: www-forms@w3.org
Subject: AW: XForms WD 20020118 - Questions about instanceData


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 14:30:21 UTC