Text this: EXAFS studies of rare-earth metaphosphate glasses