X-Ray Scattering Studies Of Complex Liquids In Nanometer-Sized Contrainers