I'm a bit new with XSD, or my knowledge is a tad limited rather, so I'm trying to see the benefits of using a group instead of a complexType. Or rather, what the major difference between the two are, for they seem to belong to different 'levels' or some such.
So far, what I've seen is that:
A complexType can reference a complexType (why do articles on the internets claim this is not so?)
A group can reference a complexType
a complexType can reference a group
a group can reference a group.
a group is not a type, so can't be used to define elements.
a complexType can be derived from another complexType.
So the answer is that the complexType is a new type, whereas the group is merely a collection of elements and/or attributes that can be conveniently referenced?
So far, what I've seen is that:
A complexType can reference a complexType (why do articles on the internets claim this is not so?)
A group can reference a complexType
a complexType can reference a group
a group can reference a group.
a group is not a type, so can't be used to define elements.
a complexType can be derived from another complexType.
So the answer is that the complexType is a new type, whereas the group is merely a collection of elements and/or attributes that can be conveniently referenced?