Re: Error in Building an XML File
| From: | Virgilio Quilario | Date: | Mon, 09 Mar 2009 14:47:03 +0000 |
| Subject: | Re: Error in Building an XML File | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289662@lists.php.net to get a copy of this message | ||
> I am using PHP to build an XML file, but I keep on getting an XML
> error when open the file in Google Chrome.
> ---------------------------------------------------------------------------------
> This page contains the following errors:
>
> error on line 30 at column 318: Entity 'iuml' not defined
> Below is a rendering of the page up to the first error.
> --------------------------------------------------------------------------------
>
> is this something to do with document encoding?
>
> I am using these as headers for the script
>
> header("content-type:text/xml;charset=utf-8");
> header("Content-Disposition:attachment;filename=google_feed.xml");
>
>
hi Joe,
the document encoding has nothing to do with the error.
maybe you have & just before the "iuml".
make it &iuml.
or maybe copy and paste that line here because i suspect there is
something else.
Virgil
http://www.jampmark.com