users@jaxb.java.net

Re: xsd sequence

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Fri, 18 Jul 2008 13:14:53 +0200

use <xsd:all>:


<xsd:complexType name="MyObject">
             <xsd:sequence>
                 <xs:all>
                   <xsd:element name="A" type="xsd:string"
minOccurs="0" maxOccurs="unbounded"/>
                   <xsd:element name="B" type="xsd:string"
minOccurs="0" > maxOccurs="unbounded"/>
                  <xsd:element name="C" type="xsd:string"
minOccurs="0" >maxOccurs="unbounded"/>
                </xsd:all>
          </xsd:sequence>
</complexType>