Electronic structure analysis of via x-ray absorption near-edge structure at the Si K, and O K edges