<xsd:attributeGroup name="AG_Type"> <xsd:attribute name="type" type="xsd:string" use="optional"/> </xsd:attributeGroup>