XRF intensity in the frame of the transport theory