...
When an <attributeGroup> appears as a daughter of <schema> or <redefine>, it corresponds to an attribute group definition, shown below. When it appears as a daughter of <complexType> or <attributeGroup>, it does not correspond to any component as such.
attributeGroup UML model example.
...
