A method for the determination of 31 components including C, N, S, Cl in soil samples by X-ray fluorescence spectrometry with pressed powder pellet sample preparation was developed. The analytical crystals were carefully selected with RX 45 for N, RX 61 f