of carboxyl groups or salts, halides or anhydrides thereof