Investigation of the core electron binding energies by x-ray photoelectron spectroscopy (XPS) allows the determination not only of the elemental composition of the film but also the detection of the various compounds of the constituent elements due to the measurable shift in the electron binding energies associated with chemical bonding.