<xs:complexType name="sourceValue"> <xs:simpleContent> <xs:extension base="voc:source"> <xs:attributeGroup ref="ag:source"/> <xs:attributeGroup ref="ex:customAttributes"/> </xs:extension> </xs:simpleContent> </xs:complexType>