Nanomaterials NEXAFS studies