Re: Error in Building an XML File

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux