refining RDP in xml