在线等待:shema中的问题,急!!!
<xs:element name="1">
<xs:element name ="2"/>
<xs:element name ="3"/>
<xs:attribute name="type" type="type"/>
</xs:element>
<xs:simpleType name="Type">
<xs:restriction base="xs:string">
<xs:enumeration value="Event"/>
<xs:enumeration value="Property"/>
</xs:restriction>
</xs:simpleType>
问:1的属性为Event时,其子节点只有2可见;
1的属性为Property时,其子节点只有3可见。
此题即日起,2日内有效!