rem: var nm = xml.documentElement.getElementsByTagName('name'); 
add: var nm = xml.getElementsByTagName('name'); 
context: 	"parseMaptypeXML": function(m, xml){		// assign map type values data array						var id = xml.documentElement.getElementsByTagName('maptype_id');					m.maptype_id = parseInt( id[0].firstChild.nodeValue );		var nm = xml.documentElement.getElementsByTagName('name');					m.name = nm[0].firstChild.nodeValue;		var snm = xml.documentElement.getElementsByTagName('shortname');					m.shortname = snm[0].firstChild.nodeValue;		var ds = xml.documentElement.getElementsByTagName('description');					m.description = ds[0].firstChild.nodeValue;	  				var minz = xml.documentElement.getElementsByTagName('minzoom');		m.minzoom = parseInt( minz[0].firstChild.nodeValue );		var mz = xml.documentElement.getElementsByTagName('maxzoom');		m.maxzoom = parseInt( mz[0].firstChild.nodeValue );		var er = xml.documentElement.getElementsByTagName('errormsg');					m.errormsg = er[0].firstChild.nodeValue;	},
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/abb148cb64f85492613e3474ce4942a26489ad33/Edit.js/buggy/templates/Edit.js