Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by sachin on Dec 01, 2008 01:50
open dhtmlx forum
Issue with loading data

Hi,
I am using dhtmlgrid.In that i displayed table data in a grid in the below format.
<rows><row id="1"><cell>1</cell><cell>2</cell></row>.......</rows>
It is working for some tables and not working for some tables.Iam using same code for all the tables.For some tables it is giving error like "Error Type:Incorrect Xml...."

Please provide me the reason why the error is coming like that and whats the solution?

Thanks,
sachin

Answer posted by Support on Dec 01, 2008 02:30
Please check 
     http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Common_Problems_in_Grid.html#grid_art_comprob
Most probably you have some data, which violates XML rules
You can load the same url, as used in loadXML command, in separate window of browser - it will give detailed error report. |


Wrapping values in CDATA will resolve issue with special characters
<rows><row id="1"><cell><![CDATA[1]]></cell>