Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Alberto Cervantes on Aug 29, 2007 19:29
open dhtmlx forum
TreeGrid Icorrect XML when loading in IE

We are using dxtmlxTreeGrid with loadXMLstring and everything works great in Firefox but in IE allways send the message Error type: LoadXML, Description: Incorrect XML

In the address bar when typing the URL wich creates the XML IE shows a correct XML but inside the application allway sents the error. We are using LoadXMLstring.

Thanks
Answer posted by Stanislav on Sep 05, 2007 18:27
If you loading XML directly from URL you need to use
    grid.loadXML(url);
instead of LoadXMLstring

Also IE has limitation, it can load data from string only if it has UTF-8 encoding, XML with any other encoding can be loaded only directly from stream by loadXML function.