From a9121320d3725ab509b953bf752564137f1b41fd Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sat, 15 Sep 2007 13:45:52 +0000 Subject: [PATCH] GeoRSS serializer now returns string instead of XML element, after the change to format.xml subclass. git-svn-id: http://svn.openlayers.org/trunk/openlayers@4315 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/georss-serialize.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/georss-serialize.html b/examples/georss-serialize.html index 2b05c2cae0..94a6925cf5 100644 --- a/examples/georss-serialize.html +++ b/examples/georss-serialize.html @@ -14,9 +14,8 @@ feature.attributes = {}; var name = prompt("Title for feature?"); feature.attributes['title'] = name; - s = new XMLSerializer(); var data = g.write(feature.layer.features); - OpenLayers.Util.getElement("gml").value = s.serializeToString(data); + OpenLayers.Util.getElement("gml").value = data; } function init(){ g = new OpenLayers.Format.GeoRSS();