rem: ' <node id="{ID}" name="{NAME}" type="{TYPE}">'+ 
add: ' <node id="{ID}" type="{TYPE}">'+ 
context: gn20.Model = function(xmlLoader){	var loader = xmlLoader;	this.getUpdateRequest = getUpdateRequest;	//=====================================================================================function getUpdateRequest(data){	var request = str.substitute(updateTemp, data);		var list = data.SEARCH_LIST;	var text = '';			for (var i=0; i<list.length; i++)		text += str.substitute(searchTemp, list[i]);		return str.replace(request, '{SEARCHES}', text);}//=====================================================================================var updateTemp = ' <node id="{ID}" name="{NAME}" type="{TYPE}">'+ '    <site>'+'      <host>{HOST}</host>'+'      <port>{PORT}</port>'+'      <servlet>{SERVLET}</servlet>'+'      <account>'+'        <use>{USE_ACCOUNT}</use>'+'        <username>{USERNAME}</username>'+'        <password>{PASSWORD}</password>'+'      </account>'+'    </site>'+    '    <searches>'+'       {SEARCHES}'+'    </searches>'+    '    <options>'+'      <every>{EVERY}</every>'+'      <oneRunOnly>{ONE_RUN_ONLY}</oneRunOnly>'+'    </options>'+'  </node>';//=====================================================================================var searchTemp = '    <search>'+'      <freeText>{TEXT}</freeText>'+'      <title>{TITLE}</title>'+'      <abstract>{ABSTRACT}</abstract>'+'      <keywords>{KEYWORDS}</keywords>'+'      <digital>{DIGITAL}</digital>'+'      <hardcopy>{HARDCOPY}</hardcopy>'+'      <siteId>{SITE_ID}</siteId>'+'    </search>';//=====================================================================================}
meta: 6986	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6986/e8f87267e80ccd55041d1b77a74256030704d648/model.js/buggy/web/geonetwork/scripts/harvesting/geonet20/model.js