<xsd:attributeGroup name="AG_Type"> <xsd:attribute name="type" type="xsd:string" use="optional"> <xsd:annotation> <xsd:documentation>Shape Type Reference</xsd:documentation> </xsd:annotation> </xsd:attribute> </xsd:attributeGroup>