note 76670 added to ref.xmlwriter
| From: | YvesSucaet at osu1 dot php dot net | Date: | Wed, 25 Jul 2007 14:10:07 +0000 |
| Subject: | note 76670 added to ref.xmlwriter | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-128917@lists.php.net to get a copy of this message | ||
If you want your XML-output to be seen as XML by the browser, you need to modify your header. The
XmlWriter does not do this for you! Therefore, the first line of your script should be:
header("Content-type: text/xml");
----
Server IP: 208.69.120.35
Probable Submitter: 129.186.112.36
----
Manual Page -- http://www.php.net/manual/en/ref.xmlwriter.php
Edit -- https://master.php.net/note/edit/76670
Del: integrated -- https://master.php.net/note/delete/76670/integrated
Del: useless -- https://master.php.net/note/delete/76670/useless
Del: bad code -- https://master.php.net/note/delete/76670/bad+code
Del: spam -- https://master.php.net/note/delete/76670/spam
Del: non-english -- https://master.php.net/note/delete/76670/non-english
Del: in docs -- https://master.php.net/note/delete/76670/in+docs
Del: other reasons-- https://master.php.net/note/delete/76670
Reject -- https://master.php.net/note/reject/76670
Search -- https://master.php.net/manage/user-notes.php