aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbooo <borgers@mi.fu-berlin.de>2011-01-28 16:29:33 +0100
committerbooo <borgers@mi.fu-berlin.de>2011-01-28 16:29:33 +0100
commit243fa3e0193b270deb1614bb0b7e0e8e62afc4ad (patch)
tree91611646754e902d0d764c49dcd46872801f0cef /src
parentf2178d0947d458076157deebc4e4115e1785632b (diff)
downloadosm-xapi-243fa3e0193b270deb1614bb0b7e0e8e62afc4ad.tar.gz
osm-xapi-243fa3e0193b270deb1614bb0b7e0e8e62afc4ad.tar.xz
osm-xapi-243fa3e0193b270deb1614bb0b7e0e8e62afc4ad.zip
fixed xmlGenerator.js
Diffstat (limited to 'src')
-rw-r--r--src/nodejs/xmlGenerator.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nodejs/xmlGenerator.js b/src/nodejs/xmlGenerator.js
index 91837d1..a477457 100644
--- a/src/nodejs/xmlGenerator.js
+++ b/src/nodejs/xmlGenerator.js
@@ -54,13 +54,13 @@ exports.createWay = function (row) {
exports.createHeader = function createHeader() {
var header = "<?xml version='1.0' standalone='no'?>";
var tmp = builder.begin('osm')
- .att('version',config.version)
- .att('generator',config.generator)
- .att('xmlns:xapi',config.namespace)
+ .att('version',this.config.version)
+ .att('generator',this.config.generator)
+ .att('xmlns:xapi',this.config.namespace)
.att('xapi:uri','')
.att('xapi:planetDate','')
- .att('xapi:copyright',config.copyright)
- .att('xapi:instance',config.instance);
+ .att('xapi:copyright',this.config.copyright)
+ .att('xapi:instance',this.config.instance);
header = header + tmp.toString();
return header.substr(0,header.length-2) + " >";
}