rem: var xml = rslt.responseXML; 
add: var xml = rslt.responseXML.documentElement; 
context: 	"updateMaptype": function(rslt){		var xml = rslt.responseXML;		var n = ( this.editObjectN != null )?this.editObjectN:this.Map.maptypes.length;		var m = this.Map.maptypes[n] = [];				//add the xml data to the marker record		this.parseMaptypeXML(m, xml);		m.maptype_node = n;				//@TODO if this.editObjectN != null remove the maptype from the map		//@TODO add the maptype to the map					//@TODO set the map type to active		//this.Map.map.setMaptype( this.Map.maptypes[this.Map.maptypes[n].name] );		//@TODO update the controls		//this.Map.map.removeControl(typecontrols);		//this.Map.map.addControl(typecontrols);				// update the maptype		this.hideSpinner("DONE!");		this.cancelEditMaptypes();		this.editMaptypes();		if ( this.editObjectN == null ){		//if its a new maptype push the user to the tilelayer			this.editMaptypeTilelayers(n);		}else{			this.editMaptype(n);		}	},
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/abb148cb64f85492613e3474ce4942a26489ad33/Edit.js/buggy/templates/Edit.js