rem: var searchList = $('gn20.searches').childNodes; 
add: var searchList = xml.children($('gn20.searches')); 
context: function getData(){	var days  = $('gn20.every.days') .value;	var hours = $('gn20.every.hours').value;	var mins  = $('gn20.every.mins') .value;		var data =	{		//--- site		NAME    : $('gn20.name')   .value,		HOST    : $('gn20.host')   .value,		PORT    : $('gn20.port')   .value,		SERVLET : $('gn20.servlet').value,			USE_ACCOUNT: $('gn20.useAccount').checked,		USERNAME   : $('gn20.username')  .value,		PASSWORD   : $('gn20.password')  .value,			//--- options				EVERY         : Every.build(days, hours, mins),		ONE_RUN_ONLY  : $('gn20.oneRunOnly')  .checked	}		//--- retrieve search information		var searchData = [];	var searchList = $('gn20.searches').childNodes;		for(var i=0; i<searchList.length; i++)		if (searchList[i].nodeType == Node.ELEMENT_NODE)		{			var divElem = searchList[i];						searchData.push(			{				TEXT     : xml.getElementById(divElem, 'gn20.text')    .value,				TITLE    : xml.getElementById(divElem, 'gn20.title')   .value,				ABSTRACT : xml.getElementById(divElem, 'gn20.abstract').value,				KEYWORDS : xml.getElementById(divElem, 'gn20.keywords').value,						DIGITAL  : xml.getElementById(divElem, 'gn20.digital') .checked,				HARDCOPY : xml.getElementById(divElem, 'gn20.hardcopy').checked,				SITE_ID  : divElem.getAttribute('id').substring(5) //---skip 'gn20.' prefix			});		}		data.SEARCH_LIST = searchData;		return data;}
meta: 6986	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6986/774711041c241914e6fab3c51d9c469abad78755/view.js/buggy/web/geonetwork/scripts/harvesting/geonet20/view.js