The electronic structure analysis of Pr ions and Co ions in Pr1-xAxCoO3-d (A = Ca, Sr) has been systematically carried out by the X-ray absorption near-edge structure measurements. As a result, the valence states of Pr ions are trivalent and those of Co ions increases as increment of doped Ca2+ and Sr2+ concentration.