XXXIV. The theory of X-ray reflexion