X-Ray Spectroscopic Study of Valence Band of Transition-Metal Compounds