W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2002

all group

From: Avin Patel <vze49rz3@verizon.net>
Date: Mon, 23 Dec 2002 16:38:38 -0500
Message-ID: <004a01c2aacb$a7f5ebf0$643a42d1@Avin>
To: "xmlschema" <xmlschema-dev@w3.org>

Hi All,
I want to use all group in all group. As I know all group can't have one of
the following:
1)can't contain other group
2)can't be contained in other group
3)must be at top level of complex type
4)can't occur multiple time

But I can always use all group in all group as following definition, is it

<xsd:complexType name="Type1">
      <xsd:element name="elem1" type="xsd:integer"/>
      <xsd:element name="elem2" type="Type2"/>

<xsd:complexType name="Type2">
       <xsd:element name="elem1" type="xsd:integer"/>
       <xsd:element name="elem2" type="xsd:boolean"/>

Thank you,
Avin Patel
Received on Monday, 23 December 2002 16:39:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:07 UTC