[xsd-users] XSD::choice

Balasubramanyam, Shivakumar sbalasub at qualcomm.com
Wed Oct 3 13:02:17 EDT 2007


Hi,

 

I am looking for documentation or examples that shows the usage of
xs:choice type.

 

I have a choice type of two elements; looking at the generated code this
is no different than two optional elements.

 

If schema validation is turned off, does code synthesis allow both types
to be populated? 

 

Or my question is, whose job is it to validate that only one of these
types need to be populated.

 

Thanks,

Shiva




More information about the xsd-users mailing list