Reworked XML reading for all affiliates and removed old method.