W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2001

<xsd:group minOccurs="0" Vs <xsd:sequence minOccurs="0"

From: Lakshmi Narasimhan <laxnars@yahoo.com>
Date: Thu, 5 Jul 2001 03:39:48 -0700 (PDT)
Message-ID: <20010705103948.91782.qmail@web12104.mail.yahoo.com>
To: www-xml-schema-comments@w3.org
We are having the concept of group given below

<xsd:group ref="xs:identityConstraint" minOccurs="0"
maxOccurs="unbounded"/>

then what is the need of

    <xsd:sequence minOccurs="0" maxOccurs="unbounded">

if we want some set of elements  in a complex having
more than occurence , we will go for 
<xsd:group. if we use <xsd:sequence having more than
one occurence it is also the same of 
xsd:group,

any body please explain the difference between the

<xsd:sequence minOccurs="0" maxOccurs="unbounded">

    and

<xsd:group ref="xs:identityConstraint" minOccurs="0"
maxOccurs="unbounded"/>


Thanks

Lax


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
Received on Thursday, 5 July 2001 06:39:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:51 GMT