header('Content-Type: text/xml'); // Указываем, что выводим XML readfile('123.xml');