<xs:attributeGroup name="RelatedContextPtysSubGrpAttributes"> <xs:attribute name="ID" type="RelatedContextPartySubID_t" use="optional" /> <xs:attribute name="Typ" type="RelatedContextPartySubIDType_t" use="optional" /> </xs:attributeGroup>