hocam header('Content-Type: text/xml; charset=utf-8', true); ayar.php içinde php içine yerleştirdim sorun çözüldü.

Fakat: error on line 1 at column 7: XML declaration allowed only at the start of the document

da