Hi list,
I've a problem with parser of a gml file with IE
with gml file attached (I wait for moderator approval)
with firefox work fine and I can parser It
function parseData(req) {
g = new OpenLayers.Format.GML();
html = ""
features = g.read(req.responseText);
for(var feat in features) {
html += "Feature: Geometry: "+ features[feat].geometry+",";
html += "<ul>";
for (var j in features[feat].attributes) {
html += "<li>"+j+":"+features[feat].attributes[j]+"</li>";
}
html += "</ul>"
}
document.body.innerHTML = html;
}
function load() {
OpenLayers.loadURL("xml/grass.xml", "", null, parseData);
}
I think is a opnelayers bug because the script stop on features =
g.read(req.responseText);
some user had similar problem?
I hope can I solve it for me is very important!
Thanks in advance
W
--
Please no .doc, .xls, .ppt, .dwg:
https://www.faunalia.it/dokuwiki/doku.php?id=public:OpenFormats
Walter Lorenzetti
email+jabber: [EMAIL PROTECTED]
www.faunalia.it
Cell: (+39) 347-6597931 Tel+Fax: (+39) 0587-213742
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users