The phase, node position, intensity and integrated intensity of the standing-wave field have been calculated for a deformed layer on a perfect bulk as a function of angle of incidence and depth inside the crystal. The influence of the various parameters of the deformation, in particular the interface steepness, has been studied. It is found that nodes are never hooked to the deformed planes and that it is only for an incidence corresponding to the middle of the substrate peak that they are hooked to the bulk undeformed planes. The calculation has been applied to two particular situations corresponding to a relatively thick overlayer with an interface of about 100 unit cells, and to very thin overlayers with an interface two unit cells thick. In the latter case it is found that for a surface relaxation of 2% with respect to the bulk the minimum number of lattice planes above the interface for which it can no longer be assumed that the nodes remain hooked to the bulk is of the order of ten.