Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Alvaro Muñoz on Apr 04, 2009 05:58
open dhtmlx forum
loadxml error: Firefox y Google Chrome don't load xml with the extension .asp

I have an example:

<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<rows><row id="1" selected="1"><cell>Alvaro</cell></row>
<row id="2"><cell>Maria</cell></row>
<row id="3"><cell>Fran</cell></row>
<row id="4"><cell>Perico</cell></row>
<row id="5"><cell>Fulano</cell></row>
</rows>

If the filename is called mydata.xml the grid load ok but if the filename is called mydata.asp then grid no load in Firefox and Google Chrome.

I don't understand why......

Thanks!!
Answer posted by Support on Apr 06, 2009 03:18
Please be sure that asp file output data with correct content type
          Content-type:text/xml
If data was outputted with different content type, browser will not be able to recognize it as XML