Measurements of integrated intensity near the absorption edge with synchrotron radiation