X-ray fluorescence experiments were carried out at Beijing Synchrotron Radiation Facilities (BSRF) using synchrotron radiation as excitation source. The samples were made by mixing national reference standard GBW07106 and certain amount of reagent NaCl and KCl, and pressed into pellets. The purpose of the experiment is to verify the detection ability of the XRF setup at BSRF for elements in geological samples, especially for light elements. The beam size was 20 x 20 microns2, and the current in the storage ring was about 40 mA. The gap between the sample and the Si(Li) detector was 2 cm. With measuring time of 200 sec., The relative and absolute detection limits for 10 elements have been calculated. The sampling depth and sampling weight, which are critical in individual fluid inclusion analysis, have also been estimated. Some problems concerning the individual fluid inclusion analysis by SXRF, such as inclusion depth determination, effect of the inclusion depth on XRF intensity etc., are discussed based on the experiment results.