I have a problem with dhtmlxgrid. Problem come from xml file.
I get my xml file by dynload.php
Xml file is accept by FF but don’t works on IE7
Here the XML file generated by dynload.php:
(there is not Whitespace before "<?xml", and if I remove <?xml version='1.0' encoding='utf-8'?> I’ve got the same result: works on FF and doesn’t work on IE7)
<?xml version='1.0' encoding='utf-8'?>
    
        76
        <![CDATA[Mr X]]>
        <![CDATA[misterX@aabbcc.fr]]>
        29/06/2007 ORD-11111
        <![CDATA[ 
                    ]]>
    
    31
        <![CDATA[Mister Y]]>
        <![CDATA[misterY@aabbcc.fr]]>
        30/07/2007 ORD-22222
        <![CDATA[ 
                    ]]>
    
Maybe error  come from header, I sent them like this:
if ( stristr($_SERVER[“HTTP_ACCEPT”],“application/xhtml+xml”)) {
          header(“Content-type: application/xhtml+xml”); } else {
          header(“Content-type: text/xml”);
    }
Moreover if I execute directly dynload.php, XML is printed correctly on IE7, I’don’t have any error message.
Have you an idea?
Thank you.
RLM
header(“Content-type: application/xhtml+xml”); } else {
This content type is not shown correctly in my case , but latest code already has workaround and can load it in IE7, still it is more correct to use text/xml content type
>>Moreover if I execute directly dynload.php, XML is printed correctly on IE7, I’don’t have any error message.
Unfortunately I can’t reconstruct problem.
Please check attached sample it uses the same XML as yours loaded through PHP - and it works in both IE7 and FF6
Also attached version contains debug version of dhtmlxcommon - please try it with your code it will show additional info.
1196940818.ZIP (58.9 KB)
I have found the error.
An accent corrupted my XML file, I would like to print “André” it’s doesn’t work on IE7 but it’s work on FF.
If I replace “André” by “Andre”, it’s ok for both browser.
Should I encode accent before, put them in the XML file? 
If I put accent encode in HTML, I got an error too.
What’s is the solution?
Thank you.
RLM
You need to set correct encoding in XML header, in your case it probably will look as 
<?xml version='1.0' encoding='iso-8859-1'?>
Ok problem solved!
Thank you for your help and your  fastness!
RLM