<attributeGroup name="idAttributes"> <attribute name="id" type="ID" use="optional"/> <attribute name="targetId" type="NCName" use="optional"/> </attributeGroup>