- From: Dare Obasanjo <dareo@microsoft.com>
- Date: Mon, 22 Jul 2002 10:37:02 -0700
- To: <xmlschema-dev@w3.org>
I think it is just want to make sure however. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="A"> <xs:sequence> <xs:element name="f"/> <xs:choice> <xs:choice minOccurs="1"> <xs:element name="a"/> <xs:element name="b"/> </xs:choice> <xs:sequence minOccurs="0"> <xs:element name="a1"/> <xs:element name="b1"/> </xs:sequence> </xs:choice> </xs:sequence> </xs:complexType> <xs:complexType name="B"> <xs:complexContent> <xs:restriction base="A"> <xs:sequence> <xs:element name="f"/> <xs:choice> <xs:element name="a"/> <xs:element name="b1"/> </xs:choice> </xs:sequence> </xs:restriction> </xs:complexContent> </xs:complexType> </xs:schema>
Received on Monday, 22 July 2002 13:37:33 UTC