rem: var list = data.PRIVILEGES; var text = '';  for (var i=0; i<list.length; i++) { var groupID = list[i].GROUP; var operList= list[i].OPERATIONS;  text += '<group id="'+ groupID +'">';  for (var j=0; j<operList.length; j++) text += '<operation name="'+operList[j]+'"/>';  text += '</group>'; }  return str.replace(request, '{PRIVIL_LIST}', text); 
add: return this.substituteCommon(data, request); 
context: function getUpdateRequest(data){	var request = str.substitute(updateTemp, data);		var list = data.PRIVILEGES;	var text = '';		for (var i=0; i<list.length; i++)	{		var groupID = list[i].GROUP;		var operList= list[i].OPERATIONS;				text += '<group id="'+ groupID +'">';				for (var j=0; j<operList.length; j++)			text += '<operation name="'+operList[j]+'"/>';							text += '</group>';				}	return str.replace(request, '{PRIVIL_LIST}', text);}
meta: 6986	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6986/774711041c241914e6fab3c51d9c469abad78755/model.js/clean/web/geonetwork/scripts/harvesting/webdav/model.js