Electronic structure of MgB$_2$: X-ray emission and absorption studies — arXiv2