users@jaxb.java.net

Re: How JAXB Generates Choices

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Fri, 10 Jan 2003 11:23:23 -0800

My bad. It should be:

<xs:complexType name="BIND-dmo1">
  <xs:choice>
    <xs:annotaion><xs:appinfo>
      <jaxb:property name="membrane"/>
    </xs:appinfo></xs:annotation>
    <xs:element ref="BIND-dmo_general" />
    <xs:element name="BIND-dmo_outer-membrane"
type="BIND-dmo_outer-membrane1" />
    <xs:element name="BIND-dmo_inner-membrane"
type="BIND-dmo_inner-membrane1" />
    <xs:element name="BIND-dmo_general-membrane"
type="BIND-dmo_general-membrane1" />
  </xs:choice>
</xs:complexType>


regards,
--
Kohsuke KAWAGUCHI                  408-276-7063 (x17063)
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com