A semi-empirical model is developed for the X-ray emission from O star winds, and used to analyze recent ROSAT PSPC spectra. The X-rays are assumed to originate from cooling zones behind shock fronts, where the cooling is primarily radiative at small radii in the wind, and due to expansion at large radii. The shocks are dispersed in a cold background wind whose X-ray opacity is provided by detailed NLTE calculations. This model is a natural extension of the Hillier et al. (1993) model of isothermal wind shocks. By assuming spatially constant shock temperatures, these authors achieved good fits to the data only by postulating two intermixed shock families of independent temperature and filling factor - i.e., by adjusting in parallel four par...