Hollow-core photonic-crystal fibers are shown to enable dynamically phase-matched high-order harmonic generation by a gigawatt soliton pump field. With a careful design of the waveguide structure and an appropriate choice of input-pulse and gas parameters, a remarkably broadband phase matching can be achieved for a soliton pump field and a large group of optical harmonics in the soft-x-ray-extreme-ultraviolet spectral range.