<xs:complexType name="aggregationLevel"> <xs:complexContent> <xs:extension base="aggregationLevelVocab"> <xs:attributeGroup ref="ag:aggregationLevel"/> </xs:extension> </xs:complexContent> </xs:complexType>