RE: Can I choose one simpleType in one element?

Thank you very much!!
It is work!

I use <xs:group> for choosing one complexType in one element. see  (ex 1).
Do you have any good idea?

Also If you know how to choose one simpleType or complexType in one element?


(ex1)
--------------------------------
<!-- A element -->
<xs:element name="A" type="A"/>

<!-- A chooseing element -->
<xs:complexType name="A">
   <xs:choose>
       <xs:group ref="A1"/>
       <xs:group ref="A2"/>
   </xs:choose>
</complexType>

<!-- A1 group -->
<xs:group name="A1">
・・・
</xs:group>

<!-- A2 group -->
<xs:group name="A2"/>
・・・
</xs:group>
--------------------------------


Thank you,
miki


-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
Miki Kasahara
http://jp.getronics.com/
Professional ServiceDivision
e-Solutions Development Department
Getronics Japan, LTD
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- 

Received on Tuesday, 9 July 2002 13:16:14 UTC