Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - RE: One of more elements required [Thread Next] Re: One of more elements requiredTo: xmlschema-dev@--.--- Date: 10/24/2008 5:46:00 PM Thank you for the reply, sorry for the response delay. On 23/10/2008, Stan Kitsis <Stan.Kitsis@m...> wrote: > If I understand your requirements right, you want > > <xsd:choice minOccurs="1" maxOccurs="unbounded"> > <xsd:element name="platform" type="platformType"/> > <xsd:element name="device" type="deviceType"/> > </xsd:choice> > I don't understand. Doesn't the choice limit me to only use one of the two elements in the parent element? I'd like to use both (multiple times if required) but at least one of the elements should be present. Yours, Age Bosma | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
