XRF will go a millimetre or so into the sample AFAIK - it's mainly useful for finding alloy contamination, e.g. "this is 99.99% gold" vs "this is 73% gold and 27% other things" - you really want to use both techniques. Resistivity/conductivity is about average composition, XRF is about elemental purity.