Study of the beam-foil spectrum of Xe vi, and Xe vii, and Xe viii from 500 to 1550 Å