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

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

From: choi jongwon <jwchoi@digiweb21.com>
Date: Fri, 6 Jul 2001 09:32:09 +0900
To: <www-xml-schema-comments@w3.org>
Message-ID: <000801c105b3$179c7920$a9892fd3@jwchoi>

dear Lakshmi Narasimhan
 
> <xsd:sequence minOccurs="0" maxOccurs="unbounded">
> 
>     and
> 
> <xsd:group ref="xs:identityConstraint" minOccurs="0"
> maxOccurs="unbounded"/>
> 

i think the difference of them is just the scope.

group is used for global model group(sequence, all, choice).
so if you want to declare some model group global, then you have to use group element.
and you can reference the global model group through the way the second above.
Received on Thursday, 5 July 2001 20:21:52 GMT

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