On the opacity of the interstellar medium to ultrasoft X-rays and extreme-ultraviolet radiation.