XUV observations of coronal magnetic fields