<xs:attributeGroup name="RelatedPtysSubGrpAttributes"> <xs:attribute name="ID" type="RelatedPartySubID_t" use="optional" /> <xs:attribute name="Typ" type="RelatedPartySubIDType_t" use="optional" /> </xs:attributeGroup>