25 Tesla pulsed-high-magnetic-field system for soft X-ray spectroscopy