Electronic State Information from XPS Data