Text this: Theoretical Concepts of X-Ray Nanoscale Analysis