The XUV Spectra of KMgF3 and NaMgF3