just cant get my xml file to load

i know you have been asked this question many a times, but i am helpless. I just cant get my xml file to open. All it gives is an incorrect xml error. And i have double checked the schema and other things and also validated the file by opening in firefox. But, no luck…

Here is an code excerpt from my html page:

function doInitGrid(){
mygrid = new dhtmlXGridObject(‘mygrid_container’);

mygrid.setImagePath("codebase/imgs/");

mygrid.setHeader("GID,TID,PID,Title,Authors");

mygrid.setInitWidths("80,80,80,200,*");

mygrid.setColAlign("left,left,left,left,left");

mygrid.setSkin("light");
mygrid.loadXML("authors.xml");
mygrid.setColSorting("int,int,int,str,str");
mygrid.init();

}

And here is my xml file. (ignore the inclusion of header names)

<?xml version="1.0" encoding="UTF-8" ?> GID TID PID Title Authors 3 1 5 e-Learning Concept of CMS and the Digitization of Libraries Meenu Chopra

Rest, i have followed accurately each and every step as indicated in documentation.
And i am using all this locally on my computer, no web server or local server is involved. And i am planning to deploy it like this itself. Is this gonna cause some problem with chrome browsers ??

I think a simple xml in this format should work fine. Works for me atleast:

3 1 5 e-Learning Concept of CMS and the Digitization of Libraries Meenu Chopra

Note that some special characters like & can cause incorrect xml.
Try removing the hyphen in e learning once if this doesnt work

mygrid.loadXML("authors.xml");
(...)
mygrid.init();

Sure?

Better:

mygrid.setColSorting("int,int,int,str,str");
mygrid.init();
mygrid.loadXML("authors.xml");

And an error:
e-Learning Concept of CMS and the Digitization of Libraries
Where’s the closed cell tag '?

You are using xml in custom format, if it is result of some external service which you cannot reformat - it possible to adjust expected xml tag names in grid

grid.xml.top = “records”;
grid.xml.row = “./paper”;

and use xmlB scheme

docs.dhtmlx.com/doku.php?id=dhtm … emplates&s[]=xmlA#setting_cell_type_explicitly_through_xml