X-ray fluorescence spectroscopy for simplified elemental analysis