[Mapbender-commits] r3268 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Dec 2 05:51:59 EST 2008
Author: christoph
Date: 2008-12-02 05:51:59 -0500 (Tue, 02 Dec 2008)
New Revision: 3268
Modified:
trunk/mapbender/http/javascripts/wfs.php
Log:
http://trac.osgeo.org/mapbender/ticket/338
Modified: trunk/mapbender/http/javascripts/wfs.php
===================================================================
--- trunk/mapbender/http/javascripts/wfs.php 2008-12-02 10:50:05 UTC (rev 3267)
+++ trunk/mapbender/http/javascripts/wfs.php 2008-12-02 10:51:59 UTC (rev 3268)
@@ -411,7 +411,7 @@
for(var i=0; i<d.get(m).e.count(); i++){
if(d.get(m).e.getValue(i) != "" && d.get(m).e.getName(i) != "fid"){
var tmp = d.get(m).e.getName(i);
- str += '<' + tmp + '>' + d.get(m).e.getValue(i) + '</' + tmp + '>';
+ str += '<' + tmp + '><![CDATA[' + d.get(m).e.getValue(i) + ']]></' + tmp + '>';
}
}
for(var j=0; j<myconf['element'].length; j++){
@@ -479,7 +479,7 @@
if(d.get(m).e.getValue(i) != "" && d.get(m).e.getName(i) != "fid"){
str += '<wfs:Property>';
str += '<wfs:Name>'+d.get(m).e.getName(i)+'</wfs:Name>';
- str += '<wfs:Value>'+d.get(m).e.getValue(i)+'</wfs:Value>';
+ str += '<wfs:Value><![CDATA['+d.get(m).e.getValue(i)+']]></wfs:Value>';
str += '</wfs:Property>';
}
}
More information about the Mapbender_commits
mailing list