Measurement of the polarization of the Xi0 (Xi0-bar) hyperon beam by the NA48/1 experiment