[OpenLayers-Commits] r10915 -
sandbox/bartvde/openls/openlayers/lib/OpenLayers/Format/XLS
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Tue Nov 23 10:30:53 EST 2010
Author: bartvde
Date: 2010-11-23 07:30:53 -0800 (Tue, 23 Nov 2010)
New Revision: 10915
Modified:
sandbox/bartvde/openls/openlayers/lib/OpenLayers/Format/XLS/v1.js
Log:
make ESRI happy
Modified: sandbox/bartvde/openls/openlayers/lib/OpenLayers/Format/XLS/v1.js
===================================================================
--- sandbox/bartvde/openls/openlayers/lib/OpenLayers/Format/XLS/v1.js 2010-11-23 15:15:25 UTC (rev 10914)
+++ sandbox/bartvde/openls/openlayers/lib/OpenLayers/Format/XLS/v1.js 2010-11-23 15:30:53 UTC (rev 10915)
@@ -116,7 +116,7 @@
"xls": {
"XLS": function(request) {
var root = this.createElementNSPlus(
- "xls:XLS",
+ "XLS",
{attributes: {
"version": this.VERSION,
"xsi:schemaLocation": this.schemaLocation
@@ -127,13 +127,13 @@
return root;
},
"RequestHeader": function(header) {
- return this.createElementNSPlus("xls:RequestHeader", {
+ return this.createElementNSPlus("RequestHeader", {
attributes: {clientName: header.clientName,
clientPassword: header.clientPassword}
});
},
"Request": function(request) {
- var node = this.createElementNSPlus("xls:Request", {
+ var node = this.createElementNSPlus("Request", {
attributes: {
methodName: "GeocodeRequest",
requestID: request.requestID || "",
@@ -144,12 +144,12 @@
return node;
},
"GeocodeRequest": function(address) {
- var node = this.createElementNSPlus("xls:GeocodeRequest");
+ var node = this.createElementNSPlus("GeocodeRequest");
this.writeNode("Address", address, node);
return node;
},
"Address": function(address) {
- var node = this.createElementNSPlus("xls:Address", {
+ var node = this.createElementNSPlus("Address", {
attributes: {
countryCode: address.countryCode
}
@@ -169,16 +169,16 @@
return node;
},
"StreetAddress": function(street) {
- var node = this.createElementNSPlus("xls:StreetAddress");
+ var node = this.createElementNSPlus("StreetAddress");
this.writeNode("Street", street, node);
return node;
},
"Street": function(street) {
- return this.createElementNSPlus("xls:Street", {value: street});
+ return this.createElementNSPlus("Street", {value: street});
},
"Municipality": function(municipality) {
- return this.createElementNSPlus("xls:Place", {
+ return this.createElementNSPlus("Place", {
attributes: {
type: "Municipality"
},
@@ -186,7 +186,7 @@
});
},
"CountrySubdivision": function(countrySubdivision) {
- return this.createElementNSPlus("xls:Place", {
+ return this.createElementNSPlus("Place", {
attributes: {
type: "CountrySubdivision"
},
@@ -194,7 +194,7 @@
});
},
"PostalCode": function(postalCode) {
- return this.createElementNSPlus("xls:PostalCode", {
+ return this.createElementNSPlus("PostalCode", {
value: postalCode
});
}
More information about the Commits
mailing list