Fabrication and testing of a newly designed slit system for depth-resolved X-ray diffraction measurements.