Hi, Im trying to view a xml file (texttv.xml) thru php. <?php require("./classes/texttv.class"); $tv = new XMLTv4TextTV("texttv.xml"); $tv->Init(); $tv->WriteHeader(); $tv->CreateDataArray(); $tv->ArrayToXML(); $tv->Close(); header("Content-type: application/xhtml+xml"); readfile("texttv.xml"); ?> But its printed in html, its not a big deal but how can I do this correct? Thx // jocke -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php