0
多くのcompelxTypeをXSDファイルの同じ要素タイプに追加するにはどうすればよいですか?下記の例のように:XSDで同じ要素タイプにcomplexTypeを追加するにはどうすればよいですか?
<xs:element name="InboundFlight" type="eInboundFlight"
<xs:complexType name="Flight">
<xs:sequence>
<xs:element name="aircraftIdentification" type="xs:int"/>
<xs:element name="iataFlightDesignator" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Aircraft">
<xs:sequence>
<xs:element name="aircraftRegistration" type="xs:int"/>
<xs:element name="iataAircraftType" type="xs:string"/>
<xs:element name="icaoAircraftType" type="xs:string"/>
</xs:sequence>
</xs:complexType> />
コードは正しいですか?各complexTypeに個別のelementTypeを追加する必要がありますか?