RE: Alternative to <choice>?

> I want to specify a choice list without actually using the <choice>
element, i.e., a list from which exactly one of the elements must be
present. Could someone please tell me how this can be done?


<sequence>
   <element minOccurs='0' ....
   <element minOccurs='0' ....
</sequence>

might be your best bet.

> PS: The reason I want to avoid the <choice> element is that the gSoap
> compiler seemingly cannot encode it properly.

it's not just gSoap that's unable to handle the simplest of schema
constructs .. binding is a bind :-/

Received on Monday, 23 May 2005 14:07:08 UTC