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

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 UTC