X-ray optics can be used to enhance WDXRF instrumentation. For conventional XRF instrumentation, typical focal spot sizes at the sample surface range in diameter from several hundred micrometers up to several millimeters. Polycapillary focusing optics collect X-rays from the divergent X-ray source and direct them to a small focused beam at the sample surface with diameters as small as tens of micrometers. The resulting increased intensity delivered to the sample in a small focal spot, allows for enhanced spatial resolution for small feature analysis and enhanced performance for measurement of trace elements for Micro WDXRF applications. Polycapillary collimating optics allow for efficient collection of the characteristic fluorescence X-rays from a small spot on the sample surface and redirection as a parallel beam to the analyzing flat crystal for energy dispersion.