Thermo Fisher website explains that "WDXRF uses crystals to disperse the fluorescence spectrum into individual wavelengths of each element, providing high resolution and low background spectra for accurate determination of elemental concentrations." Additionally, it goes on to say
WDXRF systems are based on Bragg’s law, which states that crystals will reflect x-rays of specific wavelengths and incident angles when the wavelengths of the scattered x-rays interfere constructively. While the sample position is fixed, the angles of the crystal and detector can be changed in compliance with Bragg’s law so that a particular wavelength can be measured. Only x-rays that satisfy Bragg’s law are reflected.
However, I am still confused on how the crystal, in correspondence with Bragg's law, disperse the spectrum to show each residual wavelength. Because there is a large variation of wavelengths coming from the sample, wouldn't this mean that passing it through the crystal would cause some of them to destructively interfere? How does this help with analyzing the spectra?
Hopefully, someone can provide a more in depth explanation on how this technique is used to analyze fluorescence spectra.