For space-times with two spacelike isometries, we present infinite
hierarchies of exact solutions of the Einstein and Einstein--Maxwell equations
as represented by their Ernst potentials. This hierarchy contains three
arbitrary rational functions of an auxiliary complex parameter. They are
constructed using the so called `monodromy transform' approach and our new
method for the solution of the linear singular integral equation form of the
reduced Einstein equations. The solutions presented, which describe
inhomogeneous cosmological models or gravitational and electromagnetic waves
and their interactions, include a number of important known solutions as
particular cases.Comment: 7 pages, minor correction and reduction to conform with published
versio