From 243fa3e0193b270deb1614bb0b7e0e8e62afc4ad Mon Sep 17 00:00:00 2001 From: booo Date: Fri, 28 Jan 2011 16:29:33 +0100 Subject: fixed xmlGenerator.js --- src/nodejs/xmlGenerator.js | 10 +++++----- 1 file 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 = ""; 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) + " >"; } -- cgit v1.2.3