Near-edge X-ray absorption fine structure (NEXAFS) measurements are performed at the beamlines BL 10 and 12 of Saga Light Source (SAGA-LS). NEXAFS spectra are available using the total fluorescence yield (TFY) mode and the conventional total electron yield (TEY) mode at the beamline BL12. The fluorescence yield is obtained by a newly-constructed compact detecter using microchannel plates (MCPs). The simultaneous measurements of the NEXAFS spectra by TFY and TEY modes can reveal the information of the surface and bulk of the sample. In addition, the compact vessel for the transfer of the sample into the equipment without exposure to the atmosphere is available. To preserve the highly clean surface of the sample, the vessel with a battery-driven ion pump is also developed.