The phase composition and local atomic and electronic structure of tin oxide layers have been studied by applying synchrotron X-ray absorption near edge structure spectroscopy. The linear combination analysis of the achieved results have been performed using first-principles calculated reference...detailed