XRF sampling and measurements